using System;
public class Test
{
public static void Main()
{
string string1 = "quick brown fox jumps over the lazy dog";
const int sqlMax = 8;
while (true) {
if (string1.Length > sqlMax) {
Console.WriteLine("'{0}'", string1.Substring(0, sqlMax));
string1 = string1.Substring(sqlMax);
} else {
Console.WriteLine("'{0}'", string1);
break;
}
}
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewogICAgICAgIHN0cmluZyBzdHJpbmcxID0gInF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZyI7CiAgICAgICAgY29uc3QgaW50IHNxbE1heCA9IDg7CndoaWxlICh0cnVlKSB7CiAgICBpZiAoc3RyaW5nMS5MZW5ndGggPiBzcWxNYXgpIHsKICAgICAgICBDb25zb2xlLldyaXRlTGluZSgiJ3swfSciLCBzdHJpbmcxLlN1YnN0cmluZygwLCBzcWxNYXgpKTsKICAgICAgICBzdHJpbmcxID0gc3RyaW5nMS5TdWJzdHJpbmcoc3FsTWF4KTsKICAgIH0gZWxzZSB7CiAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoIid7MH0nIiwgc3RyaW5nMSk7CiAgICAgICAgYnJlYWs7CiAgICB9Cn0KCQkKCX0KfQ==