RegionMatches

Java-RegionMatches

RegionMatches The regionMatches () method of String compares a specific region inside a string with another specific region in another string. There is an overloaded form that allows you to ignore case in such comparisons. It has two forms: For both versions, ‘toffset’ specifies the index at which the region begins within the invoking String object. … Read more…