HF RL Explorer

SMS gateway billing: add feature

SMS gateway billing: add feature: a task in smol-software-harbor (Harbor dataset). Add Sms.split(text) to lib/sms.rb : the list of parts a message is sent as. A message that fits in one segment is returned as a single part; otherwise it is cut greedily into parts of at most 153 GSM-7 or 67 UCS-2…

The task

Add `Sms.split(text)` to `lib/sms.rb`: the list of parts a message is sent as. A message that fits in one segment is returned as a single part; otherwise it is cut greedily into parts of at most 153 GSM-7 or 67 UCS-2 units, never splitting a character (an extension character such as `€` takes two units, an emoji two…

Part of efederici/smol-software-harbor.