Export (0) Print
Expand All

unescape Method

Returns as decoded string from a String object encoded with the escape method.

function unescape(charString : String) : String

charString

Required. A String object or literal to be decoded.

The unescape method returns a string value that contains the contents of charString. All characters encoded with the %xx hexadecimal form are replaced by their ASCII character set equivalents.

Characters encoded in %uxxxx format (Unicode characters) are replaced with the Unicode character with hexadecimal encoding xxxx.

NoteNote

The unescape method should not be used to decode Uniform Resource Identifiers (URI). Use decodeURI and decodeURIComponent methods instead.

Community Additions

ADD
Show:
© 2014 Microsoft