XtScript functions
rawurldecode
Decodes a rawurlencoded string
Syntax
[var $... = ]call rawurldecode $val=...[...] optional · ... your value
Notes
For strings with spaces encoded as
+ signs use
urldecode
Example
<!--parser:xtscript-->
var $input =%21%20%22%C2%A3%24%25%5E%26%2A%2B
var $output = call rawurldecode $val=$input
print input = $input<br />
print output = $output
<!--/parser:xtscript-->
Copy as text
input = %21%20%22%C2%A3%24%25%5E%26%2A%2B
output = ! "£$%^&*+
Related