![]() Chapter Contents |
![]() Previous |
![]() Next |
| RANK |
| Category: | Character |
| Syntax | |
| Arguments | |
| Details | |
| Examples | |
| See Also |
Syntax |
| RANK(x) |
| Details |
The RANK function returns an integer that represents the position of the first character in the character expression. The result depends on your operating environment.
| Examples |
| SAS Statements | Results | |
|---|---|---|
| ASCII | EBCDIC | |
n=rank('A');
put n;
|
65 |
193 |
| See Also |
| Functions:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.