Language Reference


Character Manipulation Functions

BLANKSTR function

returns a blank string of a specified length.

BYTE function

translates numbers to ordinal characters

CHANGE call

replaces text

CHAR function

produces a character representation of a matrix

CONCAT function

concatenates elementwise strings

CSHAPE function

reshapes and repeats character values

LENGTH function

finds the lengths of character matrix elements

NAME function

lists the names of arguments

NUM function

produces a numeric representation of a character matrix

ROWCAT function

concatenates rows without using blank compression

ROWCATC function

concatenates rows by using blank compression

SUBSTR function

takes substrings of matrix elements

You can also call functions in Base SAS software such as those documented in the sections Character and Formatting Functions and Character String Matching Functions and Subroutines.