Build a text wrapper. For example, split a long sentence by some character limit only at spaces.
Anonymous
It involved a bit of state tracking where I found the nearest space lower than previous space + char_limit. Deceptively hard question.
Check out your Company Bowl for anonymous work chats.