note 21235 deleted from function.strpos by nlopess
| From: | nlopess@php.net | Date: | Tue, 25 Jul 2006 11:20:41 +0000 |
| Subject: | note 21235 deleted from function.strpos by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-115143@lists.php.net to get a copy of this message | ||
Note Submitter: jjrocket at yahoo dot com
----
It may be obvious to most, but the number returned by strpos will be the position in haystack at
which the string needle starts.
For example if haystack is "Now is the time" and needle is "Now", then strpos
will return 0, not 2.