RosettaCodeData/Task/String-comparison/Harbour/string-comparison-1.harbour
2016-12-05 23:44:36 +01:00

12 lines
228 B
Text

IF s1 == s2
? "The strings are equal"
ENDIF
IF !( 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