Adding line feed

\n did not add a line feed in the begining and ending of my Activity Properties value, but the \n before .tmpNotes added a line feed: "\n" + .Notes + .pxUpdateOpName + " - " + @CurrentDate("MM/dd/YYYY HH:SS", "EST") + "\n" + .tmpNotes + "\n\n" Any help is very much appreciated.

***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

October 26, 2008 - 7:17pm

you can try set a variable in an Activity step using 'java'

CR = System.getProperty("line.separator");

and append the variable in your line.

hope this help

September 16, 2008 - 3:36am

If you try to add a "new line" to an html section, you have to use the html line-break "<br />".

"\n" or "\r\n" only works for plain text.

September 16, 2008 - 10:14am

Hi Mullerr2, Thank you for your response. I tried "<br />" but it did not work. I added a " " (space) and the "\n" works. Below is what I have changed to:

.Notes + .pxUpdateOpName + " - " + @CurrentDate("MM/dd/YYYY HH:SS", "EST") + "\n" + .tmpNotes + " " + "\n"