Name
curl.escape — URL encode a string
Synopsis
require('curl');
curl.escape(str);
Description
URL encode a string; useful when building an URL.
print(curl.escape("abcd$%^&*()"))
“curl.escape example” outputs the following:
See Also
Was this page helpful?