|SAS Functions and CALL Routines under Windows
Returns the position of a character in the ASCII collating sequence.
||Uses the ASCII sequence
||RANK Function in
SAS Language Reference: Dictionary
is a character expression that contains
a character in the ASCII collating sequence. If the length of x is greater than 1, you receive the rank of the first character
in the expression.
Because Windows uses the ASCII character
set, the RANK function returns an integer that represents the position of
a character in the ASCII collating sequence.
Note: Any program that uses the
RANK function with characters above ASCII 127 (the hexadecimal notation is
) is not portable because these characters are national characters
and they vary from country to country.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.