I have a plain String where it contains "\". However Java seems to be trying to format the String when it sees the Double Backslash. Is there a way to tell the String to completely ignore Backslash formatting?
String Test = "File location is: C:\\Folder\\File.txt";
Output:
Test = "File location is: C:\Folder\File.txt"
Desired output:
Test = "File location is: C:\\Folder\\File.txt"