티스토리 뷰

728x90
org.apache.commons.lang3.StringUtils.containsIgnoreCase(CharSequence str, CharSequence searchStr);

https://stackoverflow.com/questions/14018478/string-contains-ignore-case/14018549#14018549

 

String contains - ignore case

Is it possible to determine if a String str1="ABCDEFGHIJKLMNOP" contains a string pattern strptrn="gHi"? I wanted to know if that's possible when the characters are case insensitive. If so, how?

stackoverflow.com

 

728x90
댓글