String Operators

<< Click to Display Table of Contents >>

Navigation:  Problem Descriptor Reference > The Elements of a Descriptor > Operators >

String Operators

Previous pageReturn to chapter overviewNext page

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"