U-X > unescape |
![]() ![]() ![]() |
unescape
Availability
Flash Player 5.
Usage
unescape(x)
Parameters
x
A string with hexadecimal sequences to escape.
Returns
Nothing.
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]}
![]() ![]() ![]() |