asked on
Return Regex.Split(s, "\W+")
Return Regex.Split(s, "<NEW RECORD>")
ASKER
ASKER
ASKER
ASKER
What does (?i) do? It worked.Makes the pattern following it case-insensitive. You can alternatively do:
Dim result() As String = Regex.Split(MyString, "<NEW RECORD>", RegexOptions.IgnoreCase)
Visual Basic .NET (VB.NET) is an object-oriented programming language implemented on the .NET framework, but also supported on other platforms such as Mono and Silverlight. Microsoft launched VB.NET as the successor to the Visual Basic language. Though it is similar in syntax to Visual Basic pre-2002, it is not the same technology,
TRUSTED BY
http://www.dotnetperls.com/split-vbnet