Chapter Contents

Previous

Next
$REVERJw.

$REVERJw.



Writes character data in reverse order and preserves blanks

Category: Character
Alignment: right


Syntax
Syntax Description
Comparisons
Examples

Syntax

$REVERJw.

Syntax Description

w
specifies the width of the output field.
Default: 1 if the length of the variable is undefined; otherwise, the length of the variable
Range: 1-32767


Comparisons

The $REVERJw. format is similar to the $REVERSw. format except that $REVERSw. left aligns the result by trimming all leading blanks.


Examples

put @1 name $reverj7.;

Values* Results

----+----1
ABCD### DCBA
###ABCD DCBA
*The character # represents a blank space.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.