Language Reference |
See Also Applies To
Encodes String objects so they can be read on all computers.
The charstring argument is a String object to be encoded.
The escape method returns a new String object (in Unicode format) that contains the contents of charstring. All spaces, punctuation, accented characters, and any other non-ASCII characters are replaced with %xx encoding, where xx is equivalent to the hexadecimal number representing the character. For example, a space is returned as "%20."
Characters with a value greater than 255 are stored using the %uxxxx format.
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js400.htm, 2KB, , updated: 1997/9/30 04:44, local time: 2019/10/21 20:44,
|©2019 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.massmind.org/techref/inet/iis/jscript/htm/js400.htm"> escape Method</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to www.massmind.org!