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()
string data = "THExxQUICKxxBROWNxxFOX"; return data.Replace("xx","|").Split('|');
Just choose the replace character carefully (choose one that isn't likely to be present in the string already)!