As far as i can see the string.Split method will only split on one character, i could use the Split() function carried from vb6 but isnt there a way using .net methods that split a string using more than one character as the delimiter.
Thanks
Casey.
Printable View
As far as i can see the string.Split method will only split on one character, i could use the Split() function carried from vb6 but isnt there a way using .net methods that split a string using more than one character as the delimiter.
Thanks
Casey.
Try using the .IndexOf method in conjuction with the Substring method.
you can also try regexp.split
I agree with cx323.
If you need to split on a char, then use the string's split method, if you want to split on a string, then use the regex's split method, it will work just fine.
Thank you All
Casey.