I have a case where a string is too long and it's too big for the screen so I want to divide it up into two strings so I can diaply the first part on the first line and then the second part on the line right after it. for example..
string movieName = "the movie to end all movies ever made";
What I would like to do is after 15-20 characters spilt the string. I can use substring from this part and it's not that hard.
Here is the problem. I only want to split the string and display full words. Using the above example I want to display it like this..
the movie to end all
movies ever made
the movie to end a
ll movies ever made
See what I mean? How do I know that I'm breaking on a space... I don't think it's that hard, But I just don't know how to do it.