- (string<? string[1] string[2])procedure
- (string>? string[1] string[2])procedure
- (string<=? string[1] string[2])procedure
- (string>=? string[1] string[2])procedure
- (string-ci<? string[1] string[2])procedure
- (string-ci>? string[1] string[2])procedure
- (string-ci<=? string[1] string[2])procedure
- (string-ci>=? string[1] string[2])procedure
These procedures are the lexicographic extensions to strings of the corresponding orderings on characters. For example, string<? is the lexicographic ordering on strings induced by the ordering char<? on characters. If two strings differ in length but are the same up to the length of the shorter string, the shorter string is considered to be lexicographically less than the longer string.
Implementations may generalize these and the string=? and string-ci=? procedures to take more than two arguments, as with the corresponding numerical predicates.