php3-list | 199908

[PHP3] Hello... From: 8523543 (gis85543 <email protected>)
Date: 08/25/99

Hello!

I have a question...
I would like to covert all backslash(\) to some other character in a string.
How can I do?
I have tried the following function:
$string = ereg_replace("\\","*",$string);
but it did not work.
How should I express the backslash in PHP3 ?
Thank you for your response!!

Ken Tsai

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>