I'm having java string as
"zHG\/dB0lt2Z8xrUQlbZXfRyZuvsDZZM+H5M7vHBbsEo="
how to remove '\' character from the abovestring
thanks in advance
I'm having java string as
"zHG\/dB0lt2Z8xrUQlbZXfRyZuvsDZZM+H5M7vHBbsEo="
how to remove '\' character from the abovestring
thanks in advance
Try this
String str = "zHG\/dB0lt2Z8xrUQlbZXfRyZuvsDZZM+H5M7vHBbsEo=";
str = str.replace("\\","");
Or you can use replaceAll
For more detail Check this link