Snippets tagged “to-lower-case”
1 snippet uses this tag.
- How to check if a String contains another String in a case insensitive manner in Java?Java
To check if a String contains another String in a case-insensitive manner in Java, you can use the toLowerCase() method of the String class and the contains() method.