ez.no / exponential / documentation / reference / template operators / strings / ord
$string|ord()
array with ASCII/UNICODE value(s).
This operator simply returns an array containing the ASCII/UNICODE value(s) of the characters that are present in the input string.
{"abcdef"|ord}
returns the array (97,98,99,100,101,102).
Comments