search for string and break it out

From: Date: Thu, 16 Nov 2000 21:21:56 +0000
Subject: search for string and break it out
Groups: php.general 
Request: Send a blank email to php-general+get-25791@lists.php.net to get a copy of this message
Hi. I am wanting to read a file using fread. I want to search for string "sentto:" then I want to read everything after sentto until the first double quote. What would be the correct way to do this? would you use strstr to find sentto? then try and count the number of chars to the dbl quot and use substr to get the value? Thanks Chuck

« previous php.general (#25791) next »