Open
Description
For this problem, why wouldn't you do something along the lines of:
var uglify = function(input) {
input = input.trim();
var url = input.split(' ').join('%20');
return url;
}
I know it says that it provides with the true length of the string, but would something a long these lines not be acceptable?
Metadata
Metadata
Assignees
Labels
No labels