I'm setting a string variable based on multiple inputs using concat(). I need to add \n at different points to this string. The output of the string variable seems ok.
When I pass this string inside as a HTTP POST to a different application, Flow adds another backslash. How do I prevent this extra backslash?
Solved! Go to Solution.
Thanks for the suggestion. But <br> isn't going to work in my case.
I was able to figure it out anyway. Instead of doing all the fancy concat() stuff and manually adding the \n, I inserted my multiple inputs line by line as needed inside of my string variable like this:
Now when it inserts the variable inside the HTTP POST JSON, it automatically adds the \n for me. Success.
Hi @zeedee11,
Is the string is a part of HTML content?
If it is, instead of insert "\n", you could insert <br> into the string.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the suggestion. But <br> isn't going to work in my case.
I was able to figure it out anyway. Instead of doing all the fancy concat() stuff and manually adding the \n, I inserted my multiple inputs line by line as needed inside of my string variable like this:
Now when it inserts the variable inside the HTTP POST JSON, it automatically adds the \n for me. Success.
User | Count |
---|---|
96 | |
40 | |
25 | |
22 | |
16 |
User | Count |
---|---|
129 | |
52 | |
48 | |
36 | |
24 |