| Language Reference |
concatenates rows using blank compression
The ROWCATC function works the same way as the
ROWCAT function except that blanks in element
strings are moved to the end of the concatenation.
For example, the following statements produce the matrix
as shown:
b={"ABC" "D " "EF ",
" GH" " I " " JK"};
a=rowcatc(b);
A 2 rows 1 col (character, size 9)
ABCDEF
GHIJK
Quotes (") are needed only if you want to embed blanks or special
characters or to maintain uppercase and lowercase distinctions.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.