日期:2014-05-17 浏览次数:20917 次
void Main()
{
string str="1,2,3,4,1,5,45,458,1454,9654,24548,45454,15,0,5,35";
var temp=Regex.Split(str,@"(?<=\G(?:\w+[,,]){3})");
temp.ToList().ForEach(t=>Console.WriteLine(t));
/*
1,2,3,
4,1,5,
45,458,1454,
9654,24548,45454,
15,0,5,
35
*/
}