double backslash replacement
- From: "F" <f@xxxxx>
- Date: Sun, 8 May 2005 14:59:57 +0200
Hi there!
Could anybody be so kind to tell me how to replace a single backslash with a
double backslash?
I tried using:
$out_string = ereg_replace("\\","\\\\",$in_string);
but... all I got was this error message:
Warning: ereg_replace() REG_EESCAPE on line xx
Best regards and thanks,
F.
.
- Follow-Ups:
- Re: double backslash replacement
- From: Philip Olson
- Re: double backslash replacement
- Prev by Date: File writing
- Next by Date: Re: double backslash replacement
- Previous by thread: File writing
- Next by thread: Re: double backslash replacement
- Index(es):
Relevant Pages
|