Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What is the use of regionMatches method in java

Shulou Source: shulou.com Published: 2022-05-31 13:40:44 09月24日 Update

This article mainly introduces what is the use of the regionMatches method in java, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

RegionMatches method:

Note: the regionMatches () method is used to detect whether two strings are equal in a region.

Public class RegionMatches {public static void main (String [] args) {int number = 0; String s = "student;entropy;ENgage,English,client,eye"; String Q = "en"; / / the string for to be found (int kudo Tinck

Tags: Characters strings bits methods articles total two value location interest region at the same time size more friends notes knowledge results tape industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft MariaDB MySQL OPPO Reno Linux