Chapter Contents

Previous

Next
$REVERJw.

$REVERJw.



Reads character data from right to left and preserves blanks

Category: Character


Syntax
Syntax Description
Details
Comparisons
Examples

Syntax

$REVERJw.

Syntax Description

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


Details

The $REVERJw. informat preserves all leading and trailing blanks when it reads text right to left.


Comparisons

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


Examples

input @1 name $reverj7.;

Data Lines 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.