Reverses a character expression
Category: Character
REVERSE ( argument )
argument
specifies any SAS character expression.
If the REVERSE function returns a value to a variable that has not yet been assigned a length, by default the variable length is determined by the length of the first argument.
SAS Statements | Results |
---|---|
backward=reverse('xyz '); put backward .; | ----+----1 zyx |