Functions and CALL Routines under UNIX |
Returns the position of a character in the ASCII collating sequence.
Category: |
Character
|
UNIX specifics: |
Uses ASCII collating sequence
|
See: |
RANK Function in
SAS Language Reference: Dictionary
|
-
x
-
specifies a character constant, variable,
or 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 string.
Because UNIX uses the ASCII character
set, the RANK function returns an integer that represents the position of
a character in the ASCII collating sequence.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.