应该需要自己处理,我这里写了一个函数,你看行不行?
public string func(string yourString,int width)
{
StringBuilder newstring = new StringBuilder();
for (int i = 0; i < yourString.Length; i = i + width)
{
newstring.Append(yourString.Substring(i, width));
newstring.Append("/r/n");
}
return newstring.ToString();
}