replace - Replacing unique character with others in android studio -
i want replace character in string:
"google.com\123" i want replace "\" "/" link correct.
string google = "google.com\123"; google = google.replace("\", "/"); but doesn't work since "\" character unique.
use code
string google = "google.com\123"; google = google.replace("\\", "/"); this work
Comments
Post a Comment