yes, theres a static text file on the server I wish to read in and
detect the lines from.
A simple requestBuilder is used to retrieve it.
Are you saying I should use a php script to first parse over the text
file, then echo out what it uses?
Doesn't seem very quick or neat.
I've got a text file...which could have been created on anything.
And I simply want to read over it detecting the lines in the most
efficient way.
At the moment I'm doing it with;
int newlineloc = IncomingScriptFile.indexOf("\r",pos);
int newlineloc2 = IncomingScriptFile.indexOf("\n",pos);
newlineloc = (newlineloc<newlineloc2)?newlineloc:newlineloc2;
Which doesn't seem too neat, and I'm not sure it deals with all
possibilities.