[snip] Jay Blanchard wrote: > If you place the string into a variable then you would be able to work > with it that way. Using what functions? Part of the point was not to need to keep track of the current location in the string, etc...basically things that streams tend to handle well. > There are probably better functions for dealing with a > string than the ones you have mentioned (fseek is a file pointer). 'like fscanf, fseek' [/snip] You have been a little vague about your desired usage but here is one idea; Explode the string into an array and then use array functions to navigate the string. Here is a whole list of methods for handling strings.... http://us2.php.net/manual/en/ref.strings.php -- == Eric Gorr =============================== http://www.ericgorr.net === "Those who would sacrifice a little freedom for temporal safety deserve neither to be safe or free." - Benjamin Franklin == Insults, like violence, are the last refuge of the incompetent... === -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php