Split Text by a NEW LINE

(Vladimir) #1

What symbol should I use to split text (a string) by a NEW LINE using the Split Text action.
There is a text consisting of several separate lines that needs to be split by lines. How can I split such text?

(Nathan Stults) #2

Hi - you could try to split by \n

But I don’t think it will work. I don’t think split text will work with newlines. You could probably need to use a code block and JavaScript. “mystring”.split(’\n’); would split by newline.

(Vladimir) #3

No, it doesn’t work((

The thing is that the string that needs to be split I get from the outputs. These outputs already have the element "/n ", but at the input to Split Text I get automatically formatted data, i.e. pure text from a new line without “/n” and naturally, when I put the separator "/n ", it does not give a result. ((