This is a feature request, see:
stri_replace() to compliment str_replace() :
http://bugs.php.net/bug.php?id=5919
Regards,
Philip Olson
On Thu, 2 May 2002, CC Zona wrote:
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Reuben D Budiard
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Reuben D Budiardja) wrote:
> On Thursday 02 May 2002 04:08 pm, J Smith wrote:
> > preg_replace() can be used with arrays.
>
> Yeah, but how to make it case-insensitive beside changing the my search and
> replace strings to a regular expression
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (J Smith) wrote:
> Reuben D Budiardja wrote:
>
> > I am in need of a case-insensitive str_replace.
> >
> > The feature that I use in str_replace is to put the 'search' and 'replace'
> > argument as an array, as described in the documentation fo
Well to make it case insensitive, you could change them to '/search/i'.
Adding that /i makes them case-insensitive.
Mike
Reuben D Budiardja wrote:
> On Thursday 02 May 2002 04:08 pm, J Smith wrote:
>
>>preg_replace() can be used with arrays.
>>
>
> Yeah, but how to make it case-insensitive be
On Thursday 02 May 2002 04:08 pm, J Smith wrote:
> preg_replace() can be used with arrays.
Yeah, but how to make it case-insensitive beside changing the my search and
replace strings to a regular expression? The problem is that I have a big
array for search and replace, and it would be most lab
preg_replace() can be used with arrays.
J
Reuben D Budiardja wrote:
>
> Hi,
> I am in need of a case-insensitive str_replace. I've tried the search the
> archive and documentation, but the mostly suggested thing is to use
> eregi_replace. But this does not really solve the problem for me sin
6 matches
Mail list logo