Can someone suggest a routine where if a string is greater than a certain length it is made to become multiline by inserting \n at certain instances of the string.
This way a string would never get out of the allocated text view but would be truncated on to the next line if it is longer that the text view.