Home > Language Reference > Operators
& Operator
Concatenates two strings.
Syntax
Result = String1 &String2
| Parameter | Description |
| Result | String resulting from the concatenation. |
| String1 | Any valid expression. |
| String2 | Any valid expression. |
Remarks
The & operator expects expressions returning character strings. If one of the arguments is not a String, the compiler implicitly converts it using the CStr type conversion function, which can cause an error if the conversion proves impossible. Refer to the documentation on the CStr function for more information.
A character string cannot exceed 32767 characters. If the total size of String1 and String2 exceeds 32767 characters, an error occurs.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | - |
| Windows CE | Windows CE 3.0 | - |