Microsoft® JScript
escape Function
See Also
Language Reference 


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 function returns a new String object that contains the contents of charstring with all spaces, punctuation, accented characters, and any other non-ASCII characters replaced with %xx encoding, where xx is equivalent to the hexadecimal number representing the character. For example a space is returned as "%20".


© 1996 by Microsoft Corporation.


Casa de Bender