SyntaxFix
Write A Post
Hire A Developer
Questions
I'd rather this simple solution:
String content = "Thequickbrownfoxjumps"; while(content.length() > 4) { System.out.println(content.substring(0, 4)); content = content.substring(4); } System.out.println(content);