There's a number of functions in PHP that will give me the position of
the *first* instance of the matched string, but it doesn't look like the
function would keep searching after the first match. Anyway, am I
overlooking a function that already has the functionality that I'm
searching for?
Matt M. wrote:
There's a number of functions in PHP that will give me the position of
the *first* instance of the matched string, but it doesn't look like the
function would keep searching after the first match. Anyway, am I
overlooking a function that already has the functionality that I'm
There's a number of functions in PHP that will give me the position of
the *first* instance of the matched string, but it doesn't look like the
function would keep searching after the first match. Anyway, am I
overlooking a function that already has the functionality that I'm
searching for?
Philip Olson wrote:
There's a number of functions in PHP that will give me the position of
the *first* instance of the matched string, but it doesn't look like the
function would keep searching after the first match. Anyway, am I
overlooking a function that already has the functionality that I'm
-Original Message-
From: Gabe
Sent: Friday, June 25, 2004, 9:06:15 PM
Philip Olson wrote:
There's a number of functions in PHP that will give me the position of
the *first* instance of the matched string, but it doesn't look like the
function would keep searching after the first match.
* Thus wrote Richard Harb:
-Original Message-
From: Gabe
Sent: Friday, June 25, 2004, 9:06:15 PM
Philip Olson wrote:
lots of ...
I'd say it will do the job just fine if case sensitivity is not an
issue:
$word = 'weather';
$new = str_replace($word, strong$word/strong,
6 matches
Mail list logo