ord
Returns the Unicode codepoint of a character.
Syntax
-
ord(c)
-
c
is a character (string of length 1)
-
Description
ord(c)
returns the Unicode codepoint of c
.
Examples
ord("∫")
222B₁₆ (8747₁₀)
Returns the Unicode codepoint of a character.
ord(c)
c
is a character (string of length 1)
ord(c)
returns the Unicode codepoint of c
.
ord("∫")
222B₁₆ (8747₁₀)