query
On this page

charToInt

lib.strings.charToInt



Convert char to ascii value, must be in printable range

Example

charToInt "A"
=> 65
charToInt "("
=> 40

Type

charToInt :: string -> int

Arguments

  • [c]