Standard Library: Char
Manage concurrent operations
For more information on characters see the language reference.
Char.code(char)
Get the Unicode code point of the single-character string
char.
Char.code("A")
Char.code("🙂")
65
128578
Char.of(code)
Get a string containing the character with Unicode code point
code.
Char.of(65)
Char.of(128578)
"A"
"🙂"
Char.span(from, to)
Return the list of characters between from to
to, inclusive.
Char.span("a", "e")
Char.span("α", "ε")
["a", "b", "c", "d", "e"]
["α", "β", "γ", "δ", "ε"]