C# String.split()用法小结

来源:互联网 发布:无法连接emule网络 编辑:程序博客网 时间:2024/05/19 04:55
这个比较好
using System.Text.RegularExpressions;
string content = "agcsmallmacsmallgggsmallytx";

string[] resultString = Regex.Split(content, "small", RegexOptions.IgnoreCase);
foreach (string i in resultString)
Debug.Log(i.ToString());

参考http://www.cnblogs.com/itjeff/p/5775665.html
原创粉丝点击