摘要:
1、用字符串分隔:usingSystem.Text.RegularExpressions;//引用命名空间stringstr="aaajsbbbjsccc";string[]strArray=Regex.Split(str,"js",RegexOptions.IgnoreCase);foreach(stringstrSplitinstrArray){ Response.Write(strSplit.ToString()+"<br>");}Result:aaabbb ccc2、用多个字符来分隔:stringstr=" 阅读全文