String member function compare compares two strings (or substrings) and returns 0 if:

A.
The strings are not equal

B.
the strings are equal

C.
if the first string is greater than the second

D.
All of the above.