In 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);
More Related Contents:
- Easiest way to split a string on newlines in .NET?
- Splitting a string / number every Nth Character / Number?
- split a string on newlines in .NET
- splitting a string based on multiple char delimiters
- Split and cut string in C# [closed]
- Making a List in C# with three flexible elements in one datatype
- How can I convert String to Int?
- How do I get a consistent byte representation of strings in C# without manually specifying an encoding?
- In C#, should I use string.Empty or String.Empty or “” to intitialize a string?
- C# string replace does not actually replace the value in the string [duplicate]
- How do I replace the *first instance* of a string in .NET?
- Convert a list to a string in C#
- Are there any Fuzzy Search or String Similarity Functions libraries written for C#? [closed]
- Get the index of the nth occurrence of a string?
- Is there a C# case insensitive equals operator?
- Characters in string changed after downloading HTML from the internet
- Getting hash of a list of strings regardless of order
- Memory Efficiency and Performance of String.Replace .NET Framework
- Parse C# string to DateTime
- Easier way of writing null or empty?
- How can I get a character in a string by index?
- What is the difference between .Equals and == [duplicate]
- What’s a good way of doing string templating in .NET?
- Convert binary string into integer
- Split string into string array of single characters
- DateTime conversion from string C#
- Why only literal strings saved in the intern pool by default?
- Checking for null before ToString()
- Does any one know of a faster method to do String.Split()?
- Splitting a string in C#