Simple Question

G

Guest

Hi Guys,
I have a trick situation. I have to let users type in multiple values in
textarea seperated by ; . Now there is no limit on the number of values they
can enter. How can i programatically split the string into array.
eg. the string could be
charlie;heather;paul;tim;jerry
i want to split it as
array[1]=charlie
array[2]=heather
array[3]=paul
array[4]=tim
array[5]=jerry

any help

thanks

Manny
 
G

Guest

Got it....thanks

Vi said:
Use the Split Method and indicate the delimetter:
myString.Split(";");


Manny Chohan said:
Hi Guys,
I have a trick situation. I have to let users type in multiple values in
textarea seperated by ; . Now there is no limit on the number of values they
can enter. How can i programatically split the string into array.
eg. the string could be
charlie;heather;paul;tim;jerry
i want to split it as
array[1]=charlie
array[2]=heather
array[3]=paul
array[4]=tim
array[5]=jerry

any help

thanks

Manny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top