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

13 lines
267 B
Text
Raw Permalink Normal View History

2014-01-17 05:32:22 +00:00
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