php4-beta | 200004
Date: 04/25/00
- Next message: thies <email protected>: "Re: [PHP4BETA] New function chrcount (diff attached)"
- Previous message: thies <email protected>: "Re: [PHP4BETA] New function chrcount (diff attached)"
- In reply to: Peter Kovacs: "[PHP4BETA] Re: (PHP4BETA) New function chrcount"
- Next in thread: Peter Kovacs: "Re: [PHP4BETA] Re: (PHP4BETA) New function chrcount"
- Reply: Peter Kovacs: "Re: [PHP4BETA] Re: (PHP4BETA) New function chrcount"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Apr 24, 2000 at 04:23:30PM -0400, Peter Kovacs wrote:
> That sounds a lot like a regular expression matching engine to me,
> especially when you get into substrings that have suffixes that are also
> non-trivial prefixes.
>
> I like the str_chr_freq suggestion, any objections to that?
hmm
$d = count_chars("some stupid string");
echo $d["s"]; // prints the freqency of "s" in "some stupid
string"
i don't see why we need it!
tc
>
> On Mon, 24 Apr 2000, Ted Parnefors wrote:
>
> > How about if you instead extend its functionallity to not only count the
> > occurencies of characters, but instead include the possibility to count
> > the number of occurencies of substrings, and hence call the function
> > count_occurencies ?
> >
> > Cheers!
> >
> > --
> > Ted Parnefors <ted <email protected>>, KeyID 0x6627DEE4
> > PGP Fingerprint 1C39FA94703EB54A011CF18932018E256627DEE4
> >
>
> --------------------------------------------------
> Peter D. Kovacs KnowPost.com LLC
> Lead Engineer peter <email protected>
> --------------------------------------------------
>
>
> --
> 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>
--Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany
-- 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>
- Next message: thies <email protected>: "Re: [PHP4BETA] New function chrcount (diff attached)"
- Previous message: thies <email protected>: "Re: [PHP4BETA] New function chrcount (diff attached)"
- In reply to: Peter Kovacs: "[PHP4BETA] Re: (PHP4BETA) New function chrcount"
- Next in thread: Peter Kovacs: "Re: [PHP4BETA] Re: (PHP4BETA) New function chrcount"
- Reply: Peter Kovacs: "Re: [PHP4BETA] Re: (PHP4BETA) New function chrcount"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

