Regex regex = new Regex(@"\b~^@\b"); string[] substrings = regex.Split("this is an example string~^@today it has been added");
"this is an example string~^@today it has been added".Split(new string[]{"~^@"},StringSplitOptions.None)
string str = "this is ~!@ this is 1 ~!@ this is 2 ~!@ this is 4"; string[] saprator ={"~!@"}; String[] strSplit= str.Split(saprator,StringSplitOptions.RemoveEmptyEntries);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)