Split 以多个字符分隔

string str = "11||22||33";

string[] sArray = Regex.Split(str, "||", RegexOptions.IgnoreCase);

foreach (string i in sArray)
Response.Write(i.ToString() + "<br />");

  

posted @ 2013-05-27 09:56  放哨De老鼠  阅读(220)  评论(0编辑  收藏  举报