string str="1,2,3,4,5"; string[] sArray=Regex.Split(str,",",RegexOptions.IgnoreCase);
多字符串
STR = String "aaajbbbscccjdddseee"; String [] = sArray str.split (new new char [2] { 'J', 'S'}); // result is divided aaa bbb ccc ddd eee
single string
STR = String "aaajbbbjccc"; String [] = sArray str.split ( 'J'); // result is divided aaa bbb ccc
reproduced: https://www.cnblogs.com/luyj00436/p/11658687.html