I have a forum type site.
When a user submits a commit, it will sometimes have a very long string of continueous characters, usually a long url, which will not wrap and cause the page to strech and the layout to go all wrong.
So the goal is to cut up anything with too many characters. I'm thinking something like this will work, but my skills are exhausted after the explode line. Will this work and can someone write it?
for each string over 70 characters, split the string up into seventy character segments with a <br> in between each.
then reasemble the entire string.
Thank you for any assistance!
PS, I did try wordwrap, but had some inconsistant, unexpected results, just didn't seem to do quite right.