RosettaCodeData/Task/String-comparison/Harbour/string-comparison-1.harbour

13 lines
228 B
Plaintext

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