decodeURI
Converts an URI-encoded string into a decoded string by replacing the hexadecimal escape sequences with their corresponding characters. Also see encodeURI.
Syntax
function decodeURI(encodedURI: string): string
| Parameter | Description |
|---|---|
encodedURI
|
URI-encoded string you wish to decode. |
Return Value
Returns the URI-decoded string.
Examples
In this example, we URI-decode the Hello!%0AWelcome%20to%20FintechOS... message in a string variable called message.
var message = decodeURI('Hello!%0AWelcome%20to%20FintechOS.%20Here%20you%20can%20find:%0A%09Sudio%0A%09Apps%0A%09Automation%20Processors');