type
returns
Method
number
name
description
index
int, default: 0
The index within the string in which to determine the character code of
Returns the character code of the character at the given index
"a".ord() == 97 "abc".ord() == 97 "abc".ord(1) == 98
Last updated 5 years ago
Was this helpful?