Fonction unescapeString() WMLScript
La fonction unescapeString() remplace les séquences d'échappement dans l'URL par des caractères.
Syntaxe
n = URL.unescapeString(string)
Composant | Description |
---|---|
n | Chaîne de caractères renvoyée par la fonction. |
string | Une chaîne de caractères. |
Exemple
var a=URL.unescapeString("http%3a%2f%2fw3s.com%2wml");
Résultat
a = "http://w3s.com/wml"