STR_CAT
Script Function: Combines two strings to a new string
Syntax
STR_CAT (String1, String2)
Syntax |
Description/Format |
---|---|
String1, String2 |
Alphanumeric string |
Return code |
---|
String consisting of the two specified strings |
Example
The following example combines two strings (AE and system) to yield a single string (AE system):
:SET &STRING# = STR_CAT("AE", " system")
The following example creates a title and stores the string in a script variable. When the script is processed, the variable is resolved to yield a title such as Monthly Analysis 2022-03-15.
:SET &PROCESS# = "Monthly Analysis "
:SET &DATE# = SYS_DATE("YYYY-MM-DD")
:SET &TITLE# = STR_CAT(&PROCESS#, &DATE#)
See also: