Manuals/calci/UNESCAPE

Revision as of 16:06, 17 November 2017 by Devika (talk | contribs) (Created page with "<div style="font-size:30px">'''UNESCAPE (Text)'''</div><br/> *<math>Text</math> is any text. ==Description== *This function computes a new string. *In <math>UNESCAPE (Text)</...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
UNESCAPE (Text)


  • is any text.

Description

  • This function computes a new string.
  • In  ,  is any text to be decoded.
  • The unescape() function computes a new string in which hexadecimal escape sequences are replaced with the character that it represents. *The escape sequences might be introduced by a function like escape.
  • The unescape function is a property of the global object.
  • Usually, decodeURI or decodeURIComponent are preferred over unescape.
  • So in the result a new string in which certain characters have been unescaped.

Examples

  1. unescape('abc123') = abc123
  2. unescape('%E4%F6%FC') = äöü
  3. unescape('%u0107') = ć

See Also

References