unescape

unescape

Returns the ASCII string for the specified hexadecimal encoding value.

Core function

 

Syntax

unescape( string )

Parameters

 

string

A string containing characters in the form "%xx", where xx is a 2‑digit hexadecimal number.

Description

unescape is a top-level function and is not associated with any object.

The string returned by the unescape function is a series of characters in the ISO‑Latin‑1 character set.

The escape and unescape functions do not use Unicode as specified by the MetaScript specification. For information, see the description of "Unicode" on page 254.

Examples

The following example returns "&":

unescape( "%26" );

The following example returns "!#":

unescape( "%21%23" );

See also


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.