Writes character data in reverse order and preserves blanks.
Category: |
Character
|
Alignment: |
right
|
-
w
-
specifies the width of the output field.
Default: |
1 if w is not specified |
Range: |
1-32767 |
The $REVERJw.
format is similar to the $REVERSw. format except
that $REVERSw. left aligns the result by trimming
all leading blanks.
put @1 name $reverj7.;
Name |
Results |
|
----+----1
|
ABCD###
|
DCBA
|
###ABCD
|
DCBA
|
*
The character # represents a blank space. |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.