Format long text into two columns

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:

  1. Split text into characters
  2. Partition list by n (=length of the line)
  3. Append “-” to each line (linebreaks)
  4. Join lines together
  5. Limit the text.

How can I justify the text?

frage.gh (26.8 KB)

I don’t think it’s possible to set the width and height of the text field. Would be nice if it it was…

2 Likes