I\'ve been using the Split() method to split strings, but this only appears to work if you are splitting a string by a character. Is there a way to split a
Split()
Regex.Split(string, "xx")
is the way I do it usually.
Of course you'll need:
using System.Text.RegularExpressions;
or :
System.Text.RegularExpressions.Regex.Split(string, "xx")
but then again I need that library all the time.