note 17716 deleted from function.strpos by jimw
| From: | jimw@php.net | Date: | Fri, 21 Dec 2001 01:05:41 +0000 |
| Subject: | note 17716 deleted from function.strpos by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23721@lists.php.net to get a copy of this message | ||
I've found it easier to check like this:
if (strpos(".".$needle, $haystack)>0)
Works as long as $haystack isn't "."