See Also Applies To
Description
Encodes String objects so they can be read on all computers.
Syntax
escape(charstring)
The charstring argument is a String object to be encoded.
Remarks
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: 2025年9月5日 12:48,
©2025 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://techref.massmind.org/techref/inet/iis/jscript/htm/js400.htm"> escape Method</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.