Tests if two string regions are equal.
A substring of this String object is compared to a substring of the argument other. The result is true if these substrings represent identical character sequences. The substring of this String object to be compared begins at index toffset and has length len. The substring of other to be compared begins at index ooffset and has length len. The result is false if and only if at least one of the following is true:
|the starting offset of the subregion in this string.|
|the string argument.|
|the starting offset of the subregion in the string argument.|
|the number of characters to compare.|
true if the specified subregion of this string
exactly matches the specified subregion of the string argument;