Previous Up Next

5.4.11  Concat objects into a string: cat

cat takes as argument a sequence of objects.
cat concatenates these objects into a string.
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"

Previous Up Next