What I'm trying to accomplish is checking the textual output from a PHP/HTML file, and adding a line break every 100 lines. I understand I can use a loop for that, but what I don't get is how to declare the line numbers as a variable, and how to replace the unaltered output with the altered output so I'm not printing the same page twice.
I heard there was a lineNum() function, but for the life of me I can't find any documentation whatsoever for it. Any help would be much appreciated.