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
You can use String.Split(string[], StringSplitOptions options).
The code will look like:
var results = theString.Split(new[] {"word"}, StringSplitOptions.None);