实现代码:
public static String replaceSpace(String s) {
String result = s.replace(" ", "%20");
return result;
}
实现代码:
public static String replaceSpace(String s) {
String result = s.replace(" ", "%20");
return result;
}