WMLScript unescapeString() 函數

unescapeString() 函數用字符替換 URL 中的轉義序列。

語法

n = URL.unescapeString(string)
成分 描述
n 從函數返回的字符串。
string 一個字符串。

例子

var a=URL.unescapeString("http%3a%2f%2fw3s.com%2wml");

結果

a = "http://w3s.com/wml"