Difference between revisions of "Manuals/calci/UNESCAPE"
Jump to navigation
Jump to search
(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)</...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="font-size:30px">'''UNESCAPE (Text)'''</div><br/> | <div style="font-size:30px">'''UNESCAPE (Text)'''</div><br/> | ||
+ | where | ||
*<math>Text</math> is any text. | *<math>Text</math> is any text. | ||
+ | **UNESCAPE () computes a new string. | ||
+ | |||
==Description== | ==Description== | ||
− | + | UNESCAPE (Text) | |
− | + | *<math>Text</math> 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 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. | *The unescape function is a property of the global object. | ||
*Usually, decodeURI or decodeURIComponent are preferred over unescape. | *Usually, decodeURI or decodeURIComponent are preferred over unescape. | ||
Line 14: | Line 18: | ||
#unescape('%E4%F6%FC') = äöü | #unescape('%E4%F6%FC') = äöü | ||
#unescape('%u0107') = ć | #unescape('%u0107') = ć | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=jZpSjEGMlUQ|280|center|UnEscape}} | ||
==See Also== | ==See Also== |
Latest revision as of 14:59, 7 March 2019
UNESCAPE (Text)
where
- is any text.
- UNESCAPE () computes a new string.
Description
UNESCAPE (Text)
- 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
- unescape('abc123') = abc123
- unescape('%E4%F6%FC') = äöü
- unescape('%u0107') = ć
Related Videos
See Also
References