RosettaCodeData/Task/String-comparison/Clipper/string-comparison-1.clipper

13 lines
267 B
Plaintext

IF s1 == s2
? "The strings are equal"
ENDIF
IF .NOT. (s1 == s2)
? "The strings are not equal"
ENDIF
IF s1 > s2
? "s2 is lexically ordered before than s1"
ENDIF
IF s1 < s2
? "s2 is lexically ordered after than s1"
ENDIF