urlDecode

urlDecode ( string textOrUrl , boolean _excludeHttpCaracters ) : string

Decodes URL-encoded string

Example


console(urlDecode("https%3A%2F%2Fwww.idia-tech.com%2FurlEncode.html")) //-> https://www.idia-tech.com/urlEncode.html

Parameters

textOrUrl

text to decode

_excludeHttpCaracters (optional)

default:false
excludeHttpCaracters exclude :, / and # of the url decoding

See also

urlEncode