'How to add new line in string variable

I am trying to add array of string +value to other string variable along with new line('\n') in msflow.But that is not working. can any one please assist on this.

Here are the details:

  1. Test-string-> string with some value(A)
  2. Test-Array->Array of values["B","C"]

3.Test-Append->expecting result

AB

AC

current result

ABAC



Solution 1:[1]

It depends on where the output is to be.

e.g. if the concatenated text is to be sent in an email, then then new line character is <br/>.

Hence this is why flow didn't provide a native expression for it.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rosetta