str.ord â integer
Instance Public methods
Return the Integer
ordinal of a one-character string.
1 | "a" .ord #=> 97 |
Return the Integer
ordinal of a one-character string.
1 | "a" .ord #=> 97 |
Designed by : w10schools
service@w10schools.com
Please login to continue.