[snip]
Again, I would like to treat the string as a stream.

One possible way to accomplish this would be to simply write the string 
to a temporary file, open the file with fopen and then use fscanf, 
fseek, etc. to process the text.

However, I am assuming there is an easier way (i.e. a method without the

file io overhead) to be able to treat the string as a stream.
[/snip]

Treating a string as a stream (the most common thing is to convert a
stream to a string and work with the string using the string functions I
showed you or writing custom functions) is going to incur additioanl
overhead. What, exactly, do you want to accomplish? Can you give an
example?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to