Jay Blanchard wrote:
What, exactly, do you want to accomplish?

I want to be able to treat a string as a stream.

For example, the C++ STL contains istringstream, which allows one to treat strings as streams. (http://www.cplusplus.com/ref/iostream/istringstream/)

If you are truly wondering why such functionality is useful and examples of usefulness, I might recommend asking at comp.lang.c++ (http://groups-beta.google.com/group/comp.lang.c++).

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

Reply via email to