Export (0) Print
Expand All

decodeURI Method

Returns the unencoded version of an encoded Uniform Resource Identifier (URI).

function decodeURI(URIstring : String) : String

Arguments

URIstring
Required. A string representing an encoded URI.

Remarks

Use the decodeURI method instead of the obsolete unescape method.

The decodeURI method returns a string value.

If the URIString is not valid, a URIError occurs.

Requirements

Version 5.5

See Also

decodeURIComponent Method | encodeURI Method

Applies To: Global Object

Show:
© 2014 Microsoft