Skip to main content
Known Participant
Oct 11, 2023 11:30 PM UTC
Question

how to keep the lines of paragraph in the email body

Hi there,

I have the following information in a paragraph, need to send this information in the email body.

in the "send email" smart service, tried this: substitute(tostring(pv!newComments), "cha(10)", "<br>"), it does not work, all the informaiton are in one line in the email body.

could anyone know how to do it?

thanks.

L

6 replies

stefanhelzle0001
Brainy
Oct 12, 2023 5:56 AM UTC

Try

substitute(tostring(pv!newComments), char(10), "
"),

Just copied your code. Are you sure you need that tostring() call?

linp0001Author
Known Participant
Oct 12, 2023 3:41 PM UTC

thanks, it works, and removed the rostring function

harshitb6843
Brainy
Oct 12, 2023 6:55 AM UTC

You have used char(10) in string. Doing that will check for char(10) written in the string. Removing the quotes should work. 

linp0001Author
Known Participant
Oct 12, 2023 3:41 PM UTC

my bad. it's working now. thank you.