See also: encodeURIComponent
Decodes a URI securely encoded text to its original form.
Tooltip
Syntax: $decodeURIComponent(text)
Parameter
Description
textThe URI securely encoded text
Example:$decodeURIComponent(Hello%20World!)Returns 'Hello World!'
Syntax
$decodeURIComponent(text)
Parameter
Name | Description |
|---|---|
text | The URI securely encoded text. |
Return value
The decoded text.
Example
Syntax | Result |
|---|---|
$decodeURIComponent(This%20text%20is%20URI%20secure%3F%20Yes%3A%20Because%20it%20was%20coded%20accordingly!) | This text is URI secure? Yes: Because it was coded accordingly! |