Previous Page | Next Page

Functions and CALL Routines under UNIX

RANK Function: 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

Syntax
Details

Syntax

RANK(x)

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.


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.

Previous Page | Next Page | Top of Page