RE: [PHP] weird character replace '^]'

From: Date: Fri, 05 Jan 2001 10:11:25 +0000
Subject: RE: [PHP] weird character replace '^]'
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32861@lists.php.net to get a copy of this message
Better (faster): $brol = chr(29); $data = str_replace($brol,"",$data); Maciek > -----Original Message----- > From: Thierry Coopman [mailto:calvin@skynet.be] > Sent: Friday, January 05, 2001 10:01 AM > To: Dan Harrington > Cc: Php-General@Lists. Php. Net > Subject: Re: [PHP] weird character replace '^]' > > > The folowing will get rid of the character 035 in the string $data > > $brol=chr(29); > $data=preg_replace ("/$brol/", "", $data); >

« previous php.general (#32861) next »