ord
Summary
Returns an array containing the ASCII/UNICODE values of the input string.
Usage
input|ord()
Returns
An array with ASCII/UNICODE values.
Description
This operator returns an array containing the ASCII/UNICODE values of the characters that make up the input string.
Examples
Example 1
{'abcdef'|ord()}The following array will be returned: ( 97, 98, 99, 100, 101, 102 ).
Contributors
- Balazs Halasy Updated
Comments
Add a comment