The CAT* functions concatenate character strings.
* CAT does not remove leading or trailing blanks, and does not insert separators. * CATT trims trailing blanks, but not leading blanks, and does not insert separators. * CATS strips both leading and trailing blanks, and does not insert separators. * CATX strips both leading and trailing blanks, and inserts separators. The first argument to CATX specifies the separator.
Function Equivalent || code
------------------------------------
CAT(OF X1-X4) X1||X2||X3||X4
CATT(OF X1-X4) TRIM(X1)||TRIM(X2)||TRIM(X3)||TRIM(X4)
CATS(OF X1-X4) TRIM(LEFT(X1))||TRIM(LEFT(X2))||TRIM(LEFT(X3))||
TRIM(LEFT(X4))
CATX(SP,OF X1-X4) TRIM(LEFT(X1))||SP||TRIM(LEFT(X2))||SP||
TRIM(LEFT(X3))||SP||TRIM(LEFT(X4))