Concatenating objects into a string

### 5.2.12 Concatenating objects into a string

The cat command transforms a sequence of objects into a string.

- cat takes seq, a sequence of objects.
- cat(seq) returns the concatenation of the string representations of these objects as a single string.

#### Examples

cat("abcd",3,"d")

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

c:=5:; cat("abcd",c,"e")

“abcd5e” |  |  |  |  |  |  |  |  |  |

purge(c); cat(15,c,3)

“15c3” |  |  |  |  |  |  |  |  |  |