Skip to main content

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"));

abcd$%^&*()

See Also

Was this page helpful?