Logic App Expressions
Newline characters
Logic Apps/Flow will escape the backslash used with newline characters like \r
or \n
when entered into a string. To avoid this, use the json workaround, aka stick the newline string in a json object and retrieve it: json('{"NL":"\n"}')?['NL']
- source