How do I parse comma-seperated textbox entries and then populate a listbox?

In my example I have one textbox, let's say I type in the following:

comp1,comp2,comp3,comp4

I'd like to then (upon clicking a command button) have that textbox populate a listbox like so

comp1
comp2
comp3
comp4

Thanks for any help.