U-X > unescape |  |

unescape

unescape

Availability

Flash Player 5.

Usage

    unescape(x)

Parameters

`x` A string with hexadecimal sequences to escape.

Returns

A string decoded from a URL-encoded parameter.

Description

Top-level function; evaluates the parameter `x` as a string, decodes the string from URL-encoded format (converting all hexadecimal sequences to ASCII characters), and returns the string.

Example

The following example illustrates the escape-to-unescape conversion process.

    escape("Hello{[World]}");

The escaped result is as follows:

    ("Hello%7B%5BWorld%5D%7D');

Use `unescape` to return to the original format:

    unescape("Hello%7B%5BWorld%5D%7D")

The result is as follows:

    Hello{[World]}