Skip to content

qie.urlDecode

Signature: qie.urlDecode(value)

Returns: String urlDecoded - the decoded URL value

Decodes the value converting any invalid URL encodings back to their character.

Parameters

Type Name Description Default
String value to be decoded

Example

// Decode a URL-encoded string back to its original value
var decodedValue = qie.urlDecode("FastAPI%20%26%20lang%3Den"); // FastAPI & lang=en