Re: [PHP4BETA] New function chrcount
| From: | Andrei Zmievski | Date: | Mon, 24 Apr 2000 20:53:17 +0000 |
| Subject: | Re: [PHP4BETA] New function chrcount | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14006@lists.php.net to get a copy of this message | ||
On Mon, 24 Apr 2000, Peter Kovacs wrote:
> Okay then str_count it is. Of course, right now it only looks for every
> instance of a single character (as opposed to a substring)... That kind of
> functionality is far too complicated for me to implement at the
> moment. (See previous posts)
Why is it complicated? Wouldn't you just use php_memnstr() to look for
the string occurrences along the string?
-Andrei
'Any given program, when running correctly, is obsolete.'
- First Law of Computer Programming