摘要: 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() + "br");输出结果:aaabbbccc2、用多个字符来分隔:string str = "aaajbbbscccjdddseee";string[] sArray = str.Split(new cha 阅读全文
posted @ 2010-12-02 17:09 顺德早茶 阅读(280) 评论(0) 推荐(0) 编辑