given an Enum of integers (that comes from an external source), I need to convert them to string, and join them (separated by space).
The 2nd part is to split the resulting string in multiple chunks, with each chunk not exceeding 100 characters and the split cannot be in the middle of a number (so the split can only happen on the spaces that were inserted between the numbers).
The first part is trivial. Actually keeping the size of the resulting strings under the limit is the challenge.
Looked at Enum.chunk_while/4 but not sure this is the right approach. I also explored splitting the list while it's integers and trying to join the results but no luck.