|
Newsletters
|
|
|
|
|
WMLScript Reference
WMLScript Reference
WMLScript > URL > unescapeString()
unescapeString() - The unescapeString Function
Usage: unescapeString(string)
Description: The unescapeString function computes a new version of a string value in which each escape sequences of the sort that might be introduced by the URL.esacpeString() function is replaced with the character that it represents. The given string is unescaped as such; no URL parsing is performed.
Example:var a = "http%3a%2f%2fw.h.com%2fdck%2fx%3d12%23crd";
var b = URL.unescapeString(a);
// b = "http://w.h.com/dck?x=12#crd"
Bookmark this page
|
|