ozbob Posted January 21, 2005 Posted January 21, 2005 I would like to replace one backslash in a string with 2 backslashes but how do I achieve this?Since when I do this: test1 = test1.replace("\\","\\\\");It gives me the error that the object does not support this method.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now