ICHAR

Syntax: | `vector = ICHAR(string)`

The `ICHAR` function accepts a string as argument. The string cannot be a complete array string variable, but it can be an element of an array string variable. It returns a numeric vector whose elements are the equivalent ASCII decimal codes for the characters. If the string is only one character, the resultant vector will be of length one. The inverse of this function is the `CHAR` function.

Examples

function | result
`ICHAR('a')` | 97
`ICHAR('abcd')` | [97;98;99;100]