I would start having a read of this MSDN article and looking at the examples.
MSDN String.CompareTo[
^]
this shows that the ordinal position of the two string start in the same place
this is taken from the article
"
Remarks
The CompareTo method was designed primarily for use in sorting or alphabetizing operations. It should not be used when the primary purpose of the method call is to determine whether two strings are equivalent. To determine whether two strings are equivalent, call the Equals method.
"
So if you are after comparing the actual values look at using the
Equals[
^]