
Next:
CHR_SIMLR
-
Return whether two strings are equalapart from case
Up: Routine Descriptions
Previous:
CHR_RTOC
-
Encode a REAL value as a string
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.

Next:
CHR_SIMLR
-
Return whether two strings are equalapart from case
Up: Routine Descriptions
Previous:
CHR_RTOC
-
Encode a REAL value as a string
CHR Character Handling Routines
Starlink User Note 40
A C Charles
P C T Rees
A J Chipperfield
2 August 1995
E-mail:ussc@star.rl.ac.uk