c# split on multiple characters

60

c# split on multiple characters -

string tests = "abc][rfd][5][,][.";
string[] reslts = tests.Split(new char[] { ']', '[' }, StringSplitOptions.RemoveEmptyEntries);

Comments

Submit
0 Comments