Chapter Contents

Previous

Next
RANK

RANK



Returns the position of a character in the ASCII collating sequence

UNIX specifics: uses ASCII collating sequence


Syntax
Details

Syntax

RANK(x)


Details

UNIX operating environments use the ASCII system, so the RANK function returns an integer representing the position of a character in the ASCII collating sequence. The argument x must represent a character in the ASCII collating sequence. x can also be a variable containing a nonprintable character. If the length of x is greater than 1, the function returns the rank of the first character in the string.


Chapter Contents

Previous

Next

Top of Page

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