Henry,
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.
If you are using C#, you can reference the Microsoft.VisualBasic.dll
assembly to use the first function.
Hope this helps
Jay
"Henry Chen" <he********@postiive-it.com.au> wrote in message
news:eI**************@TK2MSFTNGP11.phx.gbl...
Hi,
I have a string that needs to be parsed into the string[]. The separator
is not char[]. It is something like " at ". With current string.Split
function, it doesn't work. Is there any exist functions like "Split" that I can use
to do the job? Any idea of the simpliest way to do the job?
Thanks in advance,
Henry