url_decode()

The function converts encoded URL into a to regular URL representation.

Detailed information about URL decoding and encoding can be found here.

Syntax

url_decode(encoded url)

Arguments

  • encoded url: encoded URL (string).

Returns

URL (string) in a regular representation.

Examples

let url = @'https%3a%2f%2fwww.bing.com%2f';
print original = url, decoded = url_decode(url)
original decoded
https%3a%2f%2fwww.bing.com%2f https://www.bing.com/