Home All Groups Group Topic Archive Search About
Author
27 Jun 2005 12:29 PM
romy
I can't find the then class for  dividing strings into tokens by a specific
delimeter

Author
27 Jun 2005 11:48 AM
Al Reid
"romy" <royal***@Powerup1.com> wrote in message news:uvwNKuweFHA.1680@TK2MSFTNGP09.phx.gbl...
> I can't find the then class for  dividing strings into tokens by a specific
> delimeter
>
>

Have a look at String.Split()

--

Al Reid
Author
27 Jun 2005 12:22 PM
Carlos J. Quintero [.NET MVP]
String.Split(...)


--
Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

Show quoteHide quote
"romy" <royal***@Powerup1.com> escribió en el mensaje
news:uvwNKuweFHA.1680@TK2MSFTNGP09.phx.gbl...
>I can't find the then class for  dividing strings into tokens by a specific
>delimeter
>
Author
27 Jun 2005 1:45 PM
Cor Ligthert
Romy,

Beside the one told there is as well Split and Regex.split

I hope this helps,

Cor
Author
27 Jun 2005 2:09 PM
Jay B. Harlow [MVP - Outlook]
Romy,
In addition to the other comments on Split, there are three Split functions
in .NET:

Use Microsoft.VisualBasic.Strings.Split if you need to split a string based
on a specific word (string). It is the Split function from VB6.

Use System.String.Split if you need to split a string based on a collection
of specific characters. Each individual character is its own delimiter.

Use System.Text.RegularExpressions.RegEx.Split to split based
on matching patterns.

Hope this helps
Jay


Show quoteHide quote
"romy" <royal***@Powerup1.com> wrote in message
news:uvwNKuweFHA.1680@TK2MSFTNGP09.phx.gbl...
|I can't find the then class for  dividing strings into tokens by a specific
| delimeter
|
|