|
"\"
I'm trying to replace occurances of "\" to "/" in a string containing a directory. Unfortunately java expects an escape character to go with it and throws off what it believes to be a string, if that makes any sense.
Doesn't work of course --> dir.replace("\", "/");
I do have a sad, but functional solution. I wanted to know if there are any better ways. -Thank you.
__________________
What? Outside??? I have heard of that thing before, but I can't remember the details.
|