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