![]() Chapter Contents |
![]() Previous |
![]() Next |
| RIGHT |
| Category: | Character |
| Syntax | |
| Arguments | |
| Details | |
| Examples | |
| See Also |
Syntax |
| RIGHT(argument) |
| Details |
The RIGHT function returns an argument with trailing blanks moved to the start of the value. The argument's length does not change.
| Examples |
| SAS Statements | Results |
|---|---|
----+----1----+ |
|
a='Due Date '; b=right(a); put a $10.; put b $10.; |
Due Date Due Date |
| See Also |
Functions:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.