剑指offer第二题
public static String replaceSpace (String s) {
String s1 = s.replaceAll(" ", "%20");
return s1;
}
public static String replaceSpace (String s) {
String s1 = s.replaceAll(" ", "%20");
return s1;
}
相关推荐