Doc Thirst
03-18-2008, 01:06 PM
OK I have this nasty paragraph of text that I need to wordwrap. However, I also need to determine if its the last line of the text or not (so I can add a 0 or 1 to the end), as well as append a string to the beginning (such as an id number).
So is there an method of writing each line of a wordwrap into an array or foreach statement rather then just spitting out the whole block of text?
So is there an method of writing each line of a wordwrap into an array or foreach statement rather then just spitting out the whole block of text?