Hi!
I'm trying to create a dialogue system in which the input text for a dialogue can be any length. The game should then take the input and break it into chunks that can be displayed comfortably on the screen.
How can I break a long string into chunks of say 200 characters while also considering the spaces between words (so that a word doesn't get broken in half)?