0

I have encoded link. After the decoding

String decodedURL = URLDecoder.decode(encodedLink, "UTF-8");
String delims = "[u, &]";
String[] splittedURL = decodedURL.split(delims);
String resultURL = splittedURL[1].substring(1);

I get 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 this part:

%2Fv%2F%2F%2FwD%2F%2F%2F%2F%2FBGNhdnMA%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8%3D

I need to have only "F" and "D" letters in Lowercase: F -> f, D -> d. Is it possible to perform decoding after which this letters will be in Lowercase without splitting the decoded link and make necessary letters

.toLowerCase();

?

0 Answers0