RosettaCodeData/Task/URL-decoding/Apex/url-decoding.apex

3 lines
140 B
Plaintext

EncodingUtil.urlDecode('http%3A%2F%2Ffoo%20bar%2F', 'UTF-8');
EncodingUtil.urlDecode('google.com/search?q=%60Abdu%27l-Bah%C3%A1', 'UTF-8');