<< Click to Display Table of Contents >> String Operators |
The following operators can be used in expressions that construct string constants:
Operator |
Action |
+ |
Binary add, Forms the concatenation of two text-string operands |
When used in the DEFINITIONS section, The strings to be concatenated must be parenthesized as a group.
Example:
DEFINITIONS
str1 = "The beginning "
str2 = " the end"
str3 = (str1 + "and" + str2)
The above would produce str3 as "The beginning and the end".
See also "String Functions"