Question
6
Replies
7692
Views
Posted: February 5, 2018
Last activity: February 7, 2018
Closed
Solved
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.
Hi,
Pega will support \n and all other escape characters.
Here is the proof:
1.Created activity to test
2.Here is the result - clipboard page:
And the java output is below: