Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 200004

Re: [PHP4BETA] New function chrcount From: Andi Gutmans (andi <email protected>)
Date: 04/24/00

At 01:52 PM 4/24/00 +0100, John Steele wrote:
>At 4/24/2000 03:40 PM, you wrote:
> >On Mon, 24 Apr 2000, Andi Gutmans wrote:
> >> At 04:27 PM 4/24/00 -0500, chagenbu <email protected> wrote:
> >> >Quoting Peter Kovacs <kovacsp <email protected>>:
> >> >
> >> > > I like the str_chr_freq suggestion, any objections to that?
> >> >
> >> >What about char_freq()? Slightly shorter...
> >>
> >> I like that better than the str_chr_freq() one.
> >
> >Except that 'frequency' is incorrect here. Frequency means how often
> >something occurs per an instance of something else. This is just a
> >simple count.
> >
> >-Andrei
>
> I agree. I liked str_count() myself.

How about str_occurences()

Andi

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>