C# Split A String By Another String

n order to split by a string you’ll have to use theĀ string array overload.

string data = "THExxQUICKxxBROWNxxFOX";

return data.Split(new string[] { "xx" }, StringSplitOptions.None);

Leave a Reply

Your email address will not be published. Required fields are marked *