String operators manipulate strings of characters. The following table describes the operators:
Operator |
Description |
---|---|
& |
Concatenates strings. |
&= |
Compound concatenation. The variable on the right is used as both an element in the concatenation operation and the result variable. Thus, the expression a &= b is equivalent to a = a & b. An expression can have only one compound assignment operator. |