SAS/IML Character Manipulation Functions and CALL Subroutines


Character Manipulation Functions

Function Purpose
BYTE translates numbers to ordinal characters
CHAR produces a character representation of a matrix
CONCAT concatenates elementwise strings
CSHAPE reshapes and repeats character values
LENGTH finds the lengths of character matrix elements
NAME lists the names of arguments
NUM produces a numeric representation of a character matrix
ROWCAT concatenates rows without using blank compression
ROWCATC concatenates rows by using blank compression
SUBSTR takes substrings of matrix elements


Character Manipulation CALL Subroutines

CALL Routine Purpose
CHANGE replaces text


You can also call functions in Base SAS® software such as those documented in the following sections: