Contents | Prev | Next

8.2.6.2 String concatenation (+)

Description

As an extension to Standard Pascal, Irie Pascal supports using the + operator to perform string concatenation (i.e. joining). When the + operator has two operands of string type or char type then it performs string concatenation. Any operands of char type are converted to string type before being concatenated.

Example

   'Hello' + ' ' + 'world' + '!!'   results in 'Hello world!!'

Contents | Prev | Next