bigfunctions > url_decode
url_decode¶
Signature
url_decode(url_encoded_string)
Description
Decode url_encoded_string
(inspired from this stackoverflow solution)
Examples
select bigfunctions.eu.url_decode('http%3A%2F%2Fwww.example.com%2Fhello%3Fv%3D12345')
select bigfunctions.us.url_decode('http%3A%2F%2Fwww.example.com%2Fhello%3Fv%3D12345')
select bigfunctions.europe_west1.url_decode('http%3A%2F%2Fwww.example.com%2Fhello%3Fv%3D12345')
+--------------------------------------+
| string |
+--------------------------------------+
| http://www.example.com/hello?v=12345 |
+--------------------------------------+