De-I > escape

escape

Syntax

escape(expression);

Arguments

expression The expression to convert into a string and encode in a URL-encoded format.

Description

Function; converts the argument to a string and encodes it in a URL-encoded format, where all alphanumeric characters are escaped with % hexadecimal sequences.

Player

Flash 5 or later.

Example

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

The result of the above code is as follows:

Hello%7B%5BWorld%5D%7D

See also

unescape