Flowdock
method

g_unpack

Importance_1
v3.1.0 - Show latest stable - 0 notes - Class: ActiveSupport::Multibyte::Unicode
g_unpack(string) public

Unpack the string at grapheme boundaries. Returns a list of character lists.

Example:

Unicode.g_unpack('क्षि') # => [[2325, 2381], [2359], [2367]]
Unicode.g_unpack('Café') # => [[67], [97], [102], [233]]
Show source
Register or log in to add new notes.