RE: [PHP] Is there a way to use the strpos() for next string...
| From: | Ford, Mike [LSS] | Date: | Thu, 20 Nov 2003 15:39:45 +0000 |
| Subject: | RE: [PHP] Is there a way to use the strpos() for next string... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170424@lists.php.net to get a copy of this message | ||
On 20 November 2003 14:53, Scott Fletcher wrote:
> Hi Everyone!
>
> Is there a way to get the strpos() to find the next needle in
> the haystack instead of just the 1st one only? (Where the 1st
> needle is the same string as the next needle)...
Look at the optional 3rd parameter to strpos().
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211