CHR_SCOMP

Compare two character strings using the ASCII character set

Description:

The first string is compared with the second using the ASCII character set, giving precedence to the left hand side of the string. If the first string is less than or equal to the second, the value .TRUE. is returned; otherwise the value .FALSE. is returned.

Invocation

RESULT = CHR_SCOMP( STR1, STR2 )

Arguments

STR1 = CHARACTER ( ) (Given)
The first character string.
STR2 = CHARACTER ( ) (Given)
The second character string.

Returned Value

CHR_SCOMP = LOGICAL
Whether the first character string is less than or equal to the second, using the ASCII character set.