Chapter Contents

Previous

Next
RANK

RANK


Returns the position of a character in the ASCII collating sequence

Language element: function
Category: character
OpenVMS specifics: ASCII collating sequence


Syntax
Details
See Also

Syntax

RANK(x)

x
represents a character in the ASCII collating sequence.


Details

Because OpenVMS is an ASCII system, the RANK function returns an integer representing the position of 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.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.