replaceAll("\","//")

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: javafx

      Hi,
      I want to use replaceAll() function.
      I have an String variable str.
      str = "D:\Image\img.png";
      now I want to tranform this str variable's value into "D://Image//img.png"
      So, I used the replaceAll() function like this:- replaceAll("\","//");
      but it gives an error for first parameter :- \
      So please tell me how to do it

            Assignee:
            Kevin Rushforth
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: