8 Replies Latest reply on Apr 3, 2009 5:12 PM by 807588

    How to replace \ with \\ in java String?

    807588
      Hi
      I have java String as c:\MyFolder\abc\songs

      I want to replace \ with \\
      New string should be as - c:\\MyFolder\\abc\\songs

      How to achieve this?