@ Kevin's answer contains a fatal problem. String.replace(char, char)replaces occurrences of one character with another character. It does not delete characters.
''Java is also invalid because there is no such thing as an empty character.
Here are some solutions that should really work (and compile!):
String myUrl = "http:\\/\\/www.example.com\\/example";
fixedUrl = myUrl.replace("\\", "");
.
fixedUrl = myUrl.replace("\\/", "/");
.
fixedUrl = myUrl.replaceAll("\\\\(.)", "\\1");
"" escape- String, escape- . , .
, replaceAll, match/replace, String match/replace. ; , , , , .
, - .
. Blackberry - J2ME, J2ME String (. javadoc) String.replace(char, char), ( ) . J2ME String StringBuffer StringBuffer.delete(...) StringBuffer.replace(...).
( , Android...)