A comparator on strings, in the lexicographical order, case-independent
a boolean telling if x > y
x
y
gtStr("cd", "abc") // -> truegtStr("acd", "abc") // -> truegtStr("abd", "abc") // -> truegtStr("aba", "abc") // -> false Copy
gtStr("cd", "abc") // -> truegtStr("acd", "abc") // -> truegtStr("abd", "abc") // -> truegtStr("aba", "abc") // -> false
A comparator on strings, in the lexicographical order, case-independent