TextJoin with NewLine

unhandled

#1

Hi,

Is there a way to join a list of strings in grasshopper into one text but there would be still newLines inside?
Like image below:

I tried /n as a separator in scripting languages, but no result.


(Tim Stark) #2

Rightclick on Panel -> multiline data

abs


#3

Canvas%20at%2003%3B30%3B51
Write a line break (with enter) as separator.


(qythium) #4

Not sure if it was a typo but your escape sequence should be \n with a backslash, works fine for me in Python :slight_smile:

a = "\n".join(x)

(List Access for x)


#5

Thank you:)