WMLScript escapeString() Function
The escapeString() function replaces special characters in the URL with escape sequences and returns the result.
Syntax
n = URL.escapeString(url)
Component | Description |
---|---|
n | The string returned from the function. |
url | A string. |
Example
var a = URL.escapeString("http://codew3c.com/wml/");
Result
a = "http%3a%2f%2fcodew3c.com%2fwml%2f"