int pageSize=5;
var array = new List<string>();
----------方法1--------------------
var pageCount = (int)Math.Ceiling(1.0 * small.Length / pageSize);
for (int i = 0; i < pageCount; i++)
{
var bb = small1.Skip(i * pageSize).Take(pageSize).ToArray();
array.Add(new string(bb));
}
----------方法2--------------------
var i = 0;
while (small1.Length>i)
{
var str = small1.Substring(i, Math.Min(pageSize, small1.Length-i));
array.Add(str);
i = i + pageSize;
}
---------------方法3----最简单------------------
var array = Regex.Matches(small, @"w{"+ pageSize+"}").Cast<Match>().Select(m=>m.Groups[0].Value).ToList();