Craigieboy
Programmer
Using regular expressions, does anyone know how to count along 1 long line of text (could be any length) 90 characters and add a carriage return, repeating this process until the end of each line?
I am attempting to display text in a browser, however this long line of text runs off the edge of the page. I need to manipulate the text so that the line is broken into lines of up to 90 characters, thus keeping the text nicely inline with the rest of my document.
Thank you in advance,
Craig
I am attempting to display text in a browser, however this long line of text runs off the edge of the page. I need to manipulate the text so that the line is broken into lines of up to 90 characters, thus keeping the text nicely inline with the rest of my document.
Thank you in advance,
Craig