In this section, you will get the detailed explanation about the regionMatches() method of String class. We are going to use regionMatches() method of String class in Java.
Tutorial Details:
As shown in the example a substring of the specified string object is compared to a substring of the other. If these substrings contain same characters sequence then we get true as output i.e. if the specified subregion of the string matches the subregion of the string argument; otherwise we get false.
The substring to be compared begins at index toffset and has length len and that of other substring to be compared begins at index ooffset and has length len.
Rate Tutorial: http://www.roseindia.net/java/string-examples/string-regionmatches.shtml
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: String regionMatches()
View Tutorial: String regionMatches()
Related
Tutorials:
|
Displaying 1 - 0 of about 0 Related Tutorials.
|
|
|
|