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.
Details
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.