Re: [PHP] one pattern, one string, multiple results

2001-09-26 Thread Richard Baskett
oledi 26 settembre 2001 9.01 > To: PHP General > Subject: [PHP] one pattern, one string, multiple results > > > I just can not seem to figure this out. > > If i have a pattern 'arc' and I want to search the string: > "an arc is an archer, but what about marc an

RE: [PHP] one pattern, one string, multiple results

2001-09-26 Thread Maxim Maletsky \(PHPBeginner.com\)
EMAIL PROTECTED]] Sent: mercoledi 26 settembre 2001 9.01 To: PHP General Subject: [PHP] one pattern, one string, multiple results I just can not seem to figure this out. If i have a pattern 'arc' and I want to search the string: "an arc is an archer, but what about marc and darcy?&

Re: [PHP] one pattern, one string, multiple results

2001-09-26 Thread
From: Richard Baskett <[EMAIL PROTECTED]> Date: Wed, Sep 26, 2001 at 12:01:11AM -0700 Message-ID: <[EMAIL PROTECTED]> Subject: [PHP] one pattern, one string, multiple results > I just can not seem to figure this out. > > If i have a pattern 'arc' and I want to

[PHP] one pattern, one string, multiple results

2001-09-25 Thread Richard Baskett
I just can not seem to figure this out. If i have a pattern 'arc' and I want to search the string: "an arc is an archer, but what about marc and darcy?" How can I find out how many occurances of arc is within that string? I know I can do an explode and then compare it, but when you have huge am