How do you break lines in a string

0
Hello,    I was wondering if there is an easy way to implement line breaks in a string. The reason to do this would be to format the string in an email. I included a screenshot below of the string I am creating. The plus signs are where I would like to break a line and create a new one. Any ideas? 
asked
2 answers
7

Hi Nathaniel Metzger ,

 

Use pre tag in html body and the use of that tag is 

 Defines preformatted text. Text in a <pre> element is displayed in a fixed-width font, and the text preserves both spaces and line breaks. The text will be displayed exactly as written in the HTML source code.

Hope it help !!

 

answered
0

If it’s going in an email, try html <br/> as linebreaks, like

'Greetings,<br/>
<br/>
You have won the lottery.<br/>
<br/>
Have a nice life.<br/>
<br/>
Tech Team'

 

answered