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