- object1
- the first string to compare.
- object2
- the second string to compare.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.ClassCastException if object1 or object2 is not a String.
Compares two objects to determine their relative order. The objects must be strings.