Returns the UTF-8 code value of a character n.
Syntax
ascii(n)
Usage
Returns null if n is null. The null character (0) is not allowed.
Example
q = foreach q generate ascii("a") as int_value;
- -int_value == 97
Returns the UTF-8 code value of a character n.
ascii(n)
Returns null if n is null. The null character (0) is not allowed.
q = foreach q generate ascii("a") as int_value;
- -int_value == 97