标签:
string sql = "aaaaaaaaaa{@}bbbbbbbbbb{@}ccccccc#cccccc";
//1、单组合{@}拆分
string[] separator = new string[] { "{@}" };
//2、多组合{@}、#拆分
string[] separator1 = new string[] { "{@}", "#" };
string[] arry = sql.Split(separator1, StringSplitOptions.RemoveEmptyEntries);
标签:
原文地址:http://www.cnblogs.com/jianghaidong/p/4668174.html