Functions and CALL Routines |
Category: | Character |
Restriction: | I18N Level 0 |
See: | RANK Function under Windows UNIX OpenVMS |
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 |
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.