Hey I`m retrieving a long dynamic text from an online data-source and I would like to bake this text into two columns (as shown in the image). If possible the text should be aligned in a “justified” manner.
Since the overall length of the text is not known I would also like to truncate the text when its getting to long.
My approach:
- Split text into characters
- Partition list by n (=length of the line)
- Append “-” to each line (linebreaks)
- Join lines together
- Limit the text.
How can I justify the text?
frage.gh (26.8 KB)