RE: [PHP] eregi_replace

From: Date: Thu, 04 Apr 2002 23:58:43 +0000
Subject: RE: [PHP] eregi_replace
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91638@lists.php.net to get a copy of this message
> > $qq = "V:\\memo\\F0001\\abcdef.com"; > print "$qq<br>\n"; > $qx = ereg_replace("V:\\",'',$qq); > print $qx; > > out: > > V:\memo\F0001\abcdef.com > Warning: Trailing backslash in /home/rodolfo/public_html/test.php on line > 5 I think it should be: $qx = ereg_replace("V:\\\\",'',$qq); Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) maxim@phpbeginner.com www.phpbeginner.com > > Regards, > Rodolfo. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#91638) next »