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"