Skip to main content
Jun 28, 2021 2:30 PM UTC
Solved

New line in string

HI,

I am trying to insert a new line in string. I tried with this(below pic) but not working. Any help?

Sruthi_0-1624890604011.png

 

Jun 29, 2021 6:11 PM UTC

@Sruthi 

 

When I pass string in the body I was unable to get the text in new line. But when I send html in body I am getting the text in a new line. This is the only way I was able to make it work.

SachinSharma_0-1624989618407.png

SachinSharma_1-1624989851937.png

 

4 replies

Jun 28, 2021 8:32 PM UTC

@Sruthi 

 

Try displaying the result in text area widget in a mashup and it will be displayed in a new line. Refer below screenshot,

SachinSharma_0-1624912257281.png 

SachinSharma_1-1624912311360.png

 

 

 

SruthiAuthor
Jun 29, 2021 7:20 AM UTC

I am trying to send an email. In the body I need to send message with new lines.

SruthiAuthor
Jun 29, 2021 1:18 PM UTC

This is what I tried 

Sruthi_0-1624972316729.png

and my result,

Sruthi_1-1624972416208.png

But I want my result to be like this,

Sruthi_3-1624972677644.png