Say i had a string that was 100 characters long, including spaces.
I then want to split the string into 25 characters per section and insert a "<br>" tag, but i dont want this to be inserted into the middle of a word, so i want it to be slightly intellegent, and put it at the end of the word.
has anyone got any ideas or better methods.