Methods
ord
ΒΆ
ord(s:
Str
, idx:
Int
)
Get character (byte) ordinal value. Throws InvalidArgument if idx is not pointing into s.
idx
Index of the character to get value of
Returns
Int
Example
ord("A", 0) # 65 on my machine