Posted: 5 Feb 2018 7:18 EST Last activity: 7 Feb 2018 4:43 EST
Newline using "\n"
Does pega support "\n" for newline? I want to add a newline to a property and I can't use "\r\n" because of requirement constraints. I tried "\n" on a java compiler and it worked. But in pega it is not adding a newline by using property-set method or java method.
Tried the same use case which you showed in the screenshots and the output is being stored with the new line functionality in the text file. As you are viewing the file content in Notepad you are not able to see the text in the new line, try to open it in advance editor like Notepad++ then you can view it as expected.
Hope this helps you.
Posted: 3 years ago
Posted: 6 Feb 2018 4:35 EST
Umamaheshwar Reddy Midthuru (Mahesh Midthuru)
Senior Software Solutions Engineer