摘要:
1、用字符串分隔:using System.Text.RegularExpressions; string str="aaajsbbbjsccc"; string[] sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase); foreach (string i in sArray) Response.Write(i.ToString() + ""); 输出结果: aaa bbb ccc 2、用多个字符来分隔:string str="aaajbbbscccjdddseee&qu 阅读全文