How do I create a carriage return in a string variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 06:12 AM
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.
- Labels:
-
Customer Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 06:43 AM
I think it's "\n".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2018 05:58 AM
Hi guys,
I think I found the answer \r\n inside the text quotes works