Previous Page | Next Page

Functions and CALL Routines under OpenVMS

RANK Function: OpenVMS



Returns the position of a character in the ASCII collating sequence.
Category: Character
OpenVMS specifics: ASCII collating sequence
See: RANK Function in SAS Language Reference: Dictionary

Syntax
Details

Syntax

RANK(x)

x

is a character expression (or character string) 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 OpenVMS 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