The string operators are shown in the table below.
Table 1. Arithmetic
operatorsOperator |
Operation |
+ |
Concatenate |
You can write a string expression containing multiple concatenations.
The following examples use the string representation required for
the advanced format (see
Representation of strings and special characters, treatment of operator characters).
Expression: Evaluates to:
'Hello ' + 'Fred' + '!' 'Hello Fred!'
'Hi' 'There' (Error, a + operator is required to concatenate strings)
'Hi' + 'There' 'HiThere'