Adding an object to a string

### 4.2.11 Adding an object to a string

The ’+’ command can be used like cat (see Section 4.2.10), and the + operator is the infixed version. (See Section 7.3.1 for other uses of + and ’+’.)

- ’+’ takes seq, a sequence of objects, at least one of which is a string.
- ’+’(seq) returns the concatenation of the string representations of the objects in seq.

##### Remark.

Note that + is infixed and ’+’ is prefixed.

#### Examples

'+'("abcd",3,"d")

or:

"abcd"+3+"d"

“abcd3d” |  |  |  |  |  |  |  |  |  |

c:=5

then:

"abcd"+c+"d"

or:

'+'("abcd",c,"d")

“abcd5d” |  |  |  |  |  |  |  |  |  |