If I wanted to split a string, e.g.
String s= ("What's wrong with my code. It doesn't seem to work correctly?");
How could I do it in a way that it is split by a specified number of characters without
splitting a word, and the next part of the string is sent to a new line?
Thank you in advance.