decodeURIComponent

IMPORTANT!  
Starting with v24.3, this is deprecated.

Converts an URIComponent-encoded string into a decoded string by replacing the hexadecimal escape sequences with their corresponding characters. Also see encodeURIComponent.

Syntax

function decodeURIComponent(encodedURIComponent: string): string
 
Parameter Description
encodedURIComponent URIComponent-encoded string you wish to decode.

Return Value

Returns the URIComponent-decoded string.

Examples