charToInt
lib.strings.charToInt
Docs pulled from | This Revision | 17 minutes ago
Convert char to ascii value, must be in printable range
Inputs
c
- 1. Function argument
Type
charToInt :: string -> int
Examples
lib.strings.charToInt
usage example
charToInt "A"
=> 65
charToInt "("
=> 40