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
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