java - How to have the partial Lowercase Decoding the URL? -
i have encoded link. after decoding
string decodedurl = urldecoder.decode(encodedlink, "utf-8"); string delims = "[u, &]"; string[] splittedurl = decodedurl.split(delims); string resulturl = splittedurl[1].substring(1);
i next link:
http://example.com?i=vnjwawaaaabfva85agaaaabr%2fv%2f%2f%2fwd%2f%2f%2f%2f%2fbgnhdnma%2f%2f%2f%2f%2f%2f%2f%2f%2f%2f8%3d
but in part:
%2fv%2f%2f%2fwd%2f%2f%2f%2f%2fbgnhdnma%2f%2f%2f%2f%2f%2f%2f%2f%2f%2f8%3d
i need have "f" , "d" letters in lowercase: f -> f, d -> d. possible perform decoding after letters in lowercase without splitting decoded link , make necessary letters
.tolowercase();
?
Comments
Post a Comment