UC_CRLF
Script Function: Returns a line break
Syntax
UC_CRLF ()
Examples
The script below places a line break between two strings:
:SET &NL# = UC_CRLF()
:SET &STRING# = "AE &NL# system"
The result is a line break between the two words in the string:
AE
system
In the following example, the message of the notification is displayed in two lines.
:PUT_ATT CALL_TEXT = "The workflow MM.DAY is blocked."
:PUT_ATT_APPEND CALL_TEXT = UC_CRLF()
:PUT_ATT_APPEND CALL_TEXT = "Escalation in 10 Minutes."
In the following example, the same message is displayed, but the line break is implemented with a script variable.
:SET &NL#=UC_CRLF()
:PUT_ATT CALL_TEXT
= "The workflow MM.DAY is blocked.&NL#Escalation
in 10 Minutes."
The following example uses this script function to insert a line break in the body of an email.
:SET &NL#
= UC_CRLF()
:SET &TEXT# = "The workflow MM.DAY is blocked.&NL#Escalation
in 10 Minutes."
:SET &RET# = SEND_MAIL("smith@automic.at",,"A task could not be started!",&TEXT#)
See also: