0
[Challenge] Create something Fan
hello Every one i suggest Challenge For You input:hello john how are you output:hello%20john%20how%20are%20you
2 Respostas
+ 5
String s = "hello john how are you";
System.out.print(s = s.replaceAll(" ", "%20"));
+ 5
The challenge is a little bit vague and require more test cases.
Are you looking for somebody to roll their own url encoder?