Append string to a new line

Hello All,

I am trying to append a new string value to the existing string value in the next line of the existing string, you may call it concatenation, but i am unable to do so, can someone please help me here.

String 1: This is my first project String 2: This is my second project.

Expectation is

This is my first project
This is my second project

For a=foo and b=bar, if you do:
$a + ‘\n’ + $b

Result in json should be:

Depending on your target system and how it renders newlines, that should work.

1 Like