otta look for it again
> :-)
>
> Thanks,
>
> Edward
>
> - Original Message -
> From: "Richard Crawford" <[EMAIL PROTECTED]>
> To: "Edward van Bilderbeek - Bean IT" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday,
IT" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 11:20 PM
Subject: Re: [PHP] ereg et all - new question..
> Seems like that makes it a LOT easier.
>
> Use eregi_relace() instead of ereg_replace(). eregi allows for
> case-insensitivity.
>
&
;
> > does that make it easier? not for me :-)
> >
> > Greets,
> >
> > Edward
> >
> >
> > - Original Message -----
> > From: "Jeff Sheltren" <[EMAIL PROTECTED]>
> > To: "Edward van Bilderbeek - Bean IT" <[EM
ase,
> the 's should be put around it...
>
> does that make it easier? not for me :-)
>
> Greets,
>
> Edward
>
>
> - Original Message -
> From: "Jeff Sheltren" <[EMAIL PROTECTED]>
> To: "Edward van Bilderbeek - Bean IT" <
ake it easier? not for me :-)
Greets,
Edward
- Original Message -
From: "Jeff Sheltren" <[EMAIL PROTECTED]>
To: "Edward van Bilderbeek - Bean IT" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 11:06 PM
Subject: Re: [PHP] er
t; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 11:06 PM
Subject: Re: [PHP] ereg et all
> Ahhh, ok makes more sense now. Although, I don't think that there is an
> "easy" way to do what you are asking. I think that in order to accomplish
>
ltren" <[EMAIL PROTECTED]>
>To: "Edward van Bilderbeek - Bean IT" <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>
>Sent: Thursday, January 31, 2002 10:56 PM
>Subject: Re: [PHP] ereg et all
>
>
> > I'm not sure why you wanted the last word "tHi
ECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 10:56 PM
Subject: Re: [PHP] ereg et all
> I'm not sure why you wanted the last word "tHis" to be changed to "That"
> (with a capital)... can you explain further?
>
> Jeff
>
> At 10:52 PM
riginal Message -
>From: "Rick Emery" <[EMAIL PROTECTED]>
>To: "'Edward van Bilderbeek - Bean IT'" <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>
>Sent: Thursday, January 31, 2002 10:47 PM
>Subject: RE: [PHP] ereg et all
>
>
&
that is not what I meant... I want the cases to remain...
- Original Message -
From: "Rick Emery" <[EMAIL PROTECTED]>
To: "'Edward van Bilderbeek - Bean IT'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002
try: eregi_replace("this","that","This equals this equals tHis");
-Original Message-
From: Edward van Bilderbeek - Bean IT [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 3:40 PM
To: [EMAIL PROTECTED]
Subject: [PHP] ereg et all
hi,
is th
hi,
is there a simple way to replace an occurence of a string, into another,
maintaing capital positions...
Like:
$str = "This equals this equals tHis";
and I wanna replace all occurences of "this" in "that", that the result will
be:
$str = "That equals that equals That";
Edward
--
PHP Ge
12 matches
Mail list logo