g_length()
public
Returns the number of grapheme clusters in the string.
Example:
'à¤à¥à¤·à¤¿'.mb_chars.length
'à¤à¥à¤·à¤¿'.mb_chars.g_length
# File activesupport/lib/active_support/multibyte/chars.rb, line 405
def g_length
Unicode.g_unpack(@wrapped_string).length
end