I have what is probably a very simple question.
I want to do a classic String.Split(), but with a string, not a character. Like string.Split(\"wo
String.Split()
string.Split(\"wo
There is an available function overload on string.Split but it takes an array and an enum.
string.Split
string test = "1Test2"; string[] results = test.Split(new string[] { "Test" }, StringSplitOptions.None);
Will yield an array containing "1" and "2".