WMLScript escapeString() Function
Complete WMLScript URL Library
The escapeString() function replaces special characters in a URL with an escape sequence, and return the result.
Syntax
n = URL.escapeString(url) |
Part |
Description |
n |
The string returned from the function |
url |
A string |
Example
var a = URL.escapeString("http://w3Schools.com/wml/");
|
Result
a = "http%3a%2f%2fw3Schools.com%2fwml%2f"
|
Complete WMLScript URL Library
Learn XML with <oXygen/> XML Editor - Free Trial!
|
|
oXygen helps you learn to define,
edit, validate and transform XML documents. Supported technologies include XML Schema,
DTD, Relax NG, XSLT, XPath, XQuery, CSS.
Understand in no time how XSLT and XQuery work by using the intuitive oXygen debugger!
Do you have any XML related questions? Get free answers from the oXygen
XML forum
and from the video
demonstrations.
Download a FREE 30-day trial today!
|
|