Jump to content

Recommended Posts

Posted

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.


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...