using System; using System.Text; public class Test { public static string SplitToLines(string str, int n) { var sb = new StringBuilder(str.Length + (str.Length + 9) / 10); for (int q=0; q