The next group of functions are the comparisons.
int String::operator==(const String&) const;
The comparison operators (
>) are all implemented for Strings.
s == t is true if Strings
t represent identical sequences of characters.
!= is the negation of
==. The other comparison operators implement lexicographic
ordering using native character comparison. If String
is a proper initial substring of String
s < t