Returns binary data in $val in hexadecimal format
[...] = optional ... = your value
[var $... = ]call bin2hex $val=…
<!--parser:xtscript-->
var $input = foobar
var $output = call bin2hex $val=$input
print input = $input<br />
print output = $output<br />
<!--/parser:xtscript-->
Show in textarea
Reload
input = foobar
output = 666f6f626172