Here's an idea: split the string into an array, separated by spaces. For example:
string words[] = {"The", "quick", "brown", "fox"}; You'd have to use pointers to do this, unfortunately. Next, just keep outputting and recording how many characters you've used, and add a new line whenever you need to. Generally, the console's 80 characters across.