String Concatenation Operator (: or +)

The string concatenation operator concatenates its two operands to form a new string. The second operand is appended to the first. Either colon or plus can be used interchangeably.

Example

STRING s1 := "Hello";
STRING s2 := "World";
STRING result;

result := s1:" ":s2 + "!";
PRINT(result, "\n");

Output:

Hello World!