caselessCompareTo >>-caselessCompareTo(string-+-----------------------+-)---------------------->< +-,--+---+--+---------+-+ +-n-+ +-,length-+ Performs a caseless sort comparison of the target string to the
[string]
argument. If the
two strings are equal, String class - caselessCompareTo method "abc"~caselessCompareTo("abc") -> 0 "b"~caselessCompareTo("a") -> 1 "a"~caselessCompareTo("b") -> -1 "abc"~caselessCompareTo("aBc") -> 0 "aBc"~caselessCompareTo("abc") -> 0 "000abc000"~caselessCompareTo(111abc111", 4, 3) -> 0 |