Having a little problem on how to split my string into chunks, so I can display it properly.
I would like to display it with new lines every let's say 20 chars, but do not want to crack it
in the middle of a word.
The output should be something like this:
global.inputdata = "some long text inside my string here....";
I would like to display it with new lines every let's say 20 chars, but do not want to crack it
in the middle of a word.
The output should be something like this:
EDIT: need to have those splittet strings inside variables, so draw_text_ext() would only help with drawing"some long text" //14 chars
"inside my string" //16 chars
"here...." //the rest goes here 8 chars
Last edited: