How do I create a carriage return in a string variable

zag
Tera Expert

The background

I capturing a bunch of field via CSM portal form and creating an incident. Now I want to create a task that describes aspects of the incident so I am concatenating these fields in the tasks' Description field.

Problem 

  The problem is I cant get a clean looking display looking format for the users. How can I get a carriage return in a single field or at lease get a decent wrap. 

This is the current line in the the Business Rule, which concatenates everything together 

gr.description = "Description: "+current.description+" Clear Notification Queue = "+ current.u_clear_notification_queue + "  Notification Change Authorization =" + current.u_notification_change_authorization + "   xxxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx";

 

..... I have tried inserting \r and that does not work. 

2 REPLIES 2

Shane J
Tera Guru

I think it's "\n".

zag
Tera Expert

Hi guys,

 

I think I found the answer  \r\n inside the text quotes works