# Concatenating objects into a string: cat

### 5.3.11 Concatenating objects into a string: cat

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

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

#### Examples.

- Input:
  cat("abcd",3,"d")
  Output:

  "abcd3d"

- Input:

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

  Output:

  "abcd5e"

- Input:

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

  Output:

  "15c3"