RosettaCodeData/Task/URL-decoding/Oberon/url-decoding.oberon
2023-07-01 13:44:08 -04:00

8 lines
238 B
Text

MODULE URLDecoding;
IMPORT
URI := URI:String,
Out := NPCT:Console;
BEGIN
Out.String(URI.Unescape("http%3A%2F%2Ffoo%20bar%2F"));Out.Ln;
Out.String(URI.Unescape("google.com/search?q=%60Abdu%27l-Bah%C3%A1"));Out.Ln;
END URLDecoding.