Re: [PHP4BETA] New function chrcount
| From: | Andrei Zmievski | Date: | Mon, 24 Apr 2000 21:45:44 +0000 |
| Subject: | Re: [PHP4BETA] New function chrcount | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14022@lists.php.net to get a copy of this message | ||
On Mon, 24 Apr 2000, Colin Viebrock wrote:
> How about num_times_char_is_in_string()? :)
>
> I'm still rooting for str_chr_freq(), or even just chr_freq(). I realize
> that etyomologists may cringe at the inexact use of "frequency", but
> "char_occurence" and "char_tally" look or sound funny, and and agree
> with Andi that "*_count" is kina ambiguous.
>
> How about str_matches() or chr_matches() ?
Well, this is ambiguous too. Is "matches" a noun or a verb here?
-Andrei
* Programming is an art form that fights back. *