[snip] Jay Blanchard wrote: > What, exactly, do you want to accomplish? I want to be able to treat a string as a stream. [/snip] I know C++ and I know what you are talking about here. As I said before, you would have pretty high overhead to do this in PHP. However, if I know what you want to do with the string more specifically (I asked for examples, which you have not given) I can get you to the right PHP functions. PHP does not have a class or function similar to isstringstream (I have not checked phpclasses.org to see if someone has written one, so there might be one there). So, please provide a more precise example. You could always write an extension if the answers I have given are not satisfactory, but I think that PHP has many built in string functions that it can probably manipulate a string any way that you would desire. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php