Previous Topic: Return CodeNext Topic: CompareTo Method—Compares two strings(upto the indicated length)


Default Behavior

The default behavior of this method is as follows.

Check null for both parameters.

Trim the space from strings.

Delegate the comparison to Java CompareTo() method.