unpack_graphemes(string)
Instance Public methods
Unpack the string at grapheme boundaries. Returns a list of character lists.
1 2 | Unicode.unpack_graphemes( 'à¤à¥à¤·à¤¿' ) # => [[2325, 2381], [2359], [2367]] Unicode.unpack_graphemes( 'Café' ) # => [[67], [97], [102], [233]] |
Please login to continue.