Scala String regionMatches() method with example
The regionMatches() method is used to check if two string regions are equal or not. However, if ignoreCase is stated true in the argument list then the case difference is ignored. Method Definition: Boolean regionMatches(boolean ignoreCase, int toffset, String other, int offset, int len) Return Type