note 20065 added to function.substr-count
| From: | php-general at lists dot php dot net | Date: | Thu, 21 Mar 2002 04:29:40 +0000 |
| Subject: | note 20065 added to function.substr-count | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28019@lists.php.net to get a copy of this message | ||
David's function should end:
return (count($strcount) - 1);
Since aa:aa splits to two elements, with one needle ":".
--
http://www.php.net/manual/en/function.substr-count.php
http://master.php.net/manage/user-notes.php?action=edit+20065
http://master.php.net/manage/user-notes.php?action=delete+20065
http://master.php.net/manage/user-notes.php?action=reject+20065