method
ord
v2.3.8 -
Show latest stable
- Class:
ActiveSupport::Multibyte::Chars
ord()public
Returns the codepoint of the first character in the string.
Example:
'ããã«ã¡ã¯'.mb_chars.ord #=> 12371
ord()Returns the codepoint of the first character in the string.
Example:
'ããã«ã¡ã¯'.mb_chars.ord #=> 12371