![]() Chapter Contents |
![]() Previous |
![]() Next |
| RIGHT |
| Category: | Character |
| Syntax | |
| Details | |
| See Also |
Syntax |
| rstring=RIGHT(string<,length>); |
Type: Character
Type: Character
Type: Numeric
| Details |
The string is justified by padding with leading spaces. The default length is the maximum length of rstring characters.
In order for RIGHT to work properly when rstring is a window variable, set the justification attribute
(JUST) for rstring
to NONE when you define the window variables.
To left-justify a character string, use the LEFT function when you define the window variable. To center a character string, use CENTER.
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.