note 10521 deleted from function.substr-count by nlopess
| From: | nlopess@php.net | Date: | Tue, 12 Jul 2005 15:11:51 +0000 |
| Subject: | note 10521 deleted from function.substr-count by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91814@lists.php.net to get a copy of this message | ||
Note Submitter: Jesse at bend dot com
----
I am not certain why the above fellah is worried about case sensitivity, ereg functions are mighty
slow.. and if you need a case insensitive count, try this:
substr_count(strtolower($haystack), strtolower($needle))