CATS() |
![]() ![]() ![]() |
The CATS() function concatenates corresponding elements of a dynamic array.
Format
CATS(string1, string2)
where
The CATS() function returns the result of concatenating corresponding dynamic array components (fields, values and subvalues) from the supplied strings.
The REUSE() function can be applied to either or both expressions. Without this function, any absent trailing values are taken as null strings.
Example
S1 = "ABC":@fm:"DEF" S2 = "123":@vm:"456":@fm:"789" X = CATS(S1,S2)
The above code fragment concatenates elements of the two strings yielding a result in X of "ABC123VM456FMDEF789" |