Concatenation &

The & operator is used to concatenate strings.

Syntax

“String1” & “String2” & “String3”

Remarks

The values being concatenated must be strings (integers are converted to strings). If you need to concatenate strings and variables, use the + operator. Note that when adding values, once a string is encountered, all subsequent operands will first be converted to a string before the + operation is performed. When working with strings the & operator can be safer to use than + because there is no danger of a value being converted from a string to an integer.

From each source string, the operator will use all characters up to the first null character. Null characters will not be included in the resulting string, except for the terminating character.