Hi there:
Dim strStringArray() As String = TextBox1.Text.Split(";"c)
strStringArray is your string array, and ";"c means split the string between
the ; chars. Notice the c after the string definition, it means that it's
not a string, it's a char.
--
Happy to help,
-- Tom Spink
(th**********@ntlworld.com)
http://dotnetx.betasafe.com >> On The Mend
Please respond to the newsgroup,
so all can benefit.
One Day,
"RGood" <rgood1@no_spam_4me_woh.rr.com> wrote in message
news:#V**************@TK2MSFTNGP11.phx.gbl...
I think i need to use the Split() method but i am not quite sure how the
syntax would look an example would be most appeciated.
Thanks, Ron
"RGood" <rgood1@no_spam_4me_woh.rr.com> wrote in message
news:OP******************@tk2msftngp13.phx.gbl... Hi,
I have a TextBox that contains the following text.
User1;User2;User3; ... and so on.
Each string is seperated by ";".
What is the best way to retreive the strings and place into a string
array or ArrayList
since i would not know how many strings are in the TextBox?
Thanks, Ron