curl.unescape

March 26, 2020 Contributors

Name

curl.unescape — Unescape URL encoding in strings

Synopsis

require('curl');

curl.unescape(str);

str: string

Description

This function unescapes URL encoding in strings and is suitable for use when decomposing URLs.

print(curl.unescape("abcd%24%25%5E%26%2A%28%29"));

“curl.unescape example” outputs:

abcd$%^&*()

See Also

curl.escape