On 24 Feb 2001 21:31:33 -0800, Clayton Dukes <[EMAIL PROTECTED]> wrote:
>How do I remove unwanted/unprintable characters from a variable?
>
>$sometext =3D "Th=C0e c=D8ar r=F6=F8an over m=D6y dog"
>needs to be filtered and reprinted as:
>"The car ran over my dog"
Strip everything which isn't in th
riginal Message -
From: <[EMAIL PROTECTED]>
To: "Clayton Dukes" <[EMAIL PROTECTED]>
Sent: Sunday, February 25, 2001 2:28 AM
Subject: Re: [PHP] Unwanted Characters
> Clayton Dukes wrote:
> >
> > How do I remove unwanted/unprintable characters from a vari
From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 25, 2001 2:34 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Unwanted Characters
How do I remove unwanted/unprintable characters from a variable?
$sometext = "ThÀe cØar röøan over mÖy dog"
needs to be filtered and reprinte
Clayton Dukes wrote:
>
> How do I remove unwanted/unprintable characters from a variable?
>
> $sometext = "ThÀe cØar röøan over mÖy dog"
> needs to be filtered and reprinted as:
> "The car ran over my dog"
>
> Thanks :-)
> Clayton Dukes
will print what you asked - of course you may not want
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Joe Stump) wrote:
> Look at the chr() function - figure out what the character is (number wise)
> and
> then do an ereg_replace(chr(),'',$string) (from the hip - you can do a
> replace
> with chr() on one of the replaces, I've done it before)
Look at the chr() function - figure out what the character is (number wise) and
then do an ereg_replace(chr(),'',$string) (from the hip - you can do a replace
with chr() on one of the replaces, I've done it before)
--Joe
On Sun, Feb 25, 2001 at 12:34:21AM -0500, Clayton Dukes wrote:
>
> How do
How do I remove unwanted/unprintable characters from a variable?
$sometext = "ThÀe cØar röøan over mÖy dog"
needs to be filtered and reprinted as:
"The car ran over my dog"
Thanks :-)
Clayton Dukes
7 matches
Mail list logo