티스토리 뷰

공부

[Java] StringUtils.containsIgnoreCase

승가비 2020. 10. 16. 18:28
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

'공부' 카테고리의 다른 글

[React] CORS by proxy of `package.json`  (0) 2020.10.16
[JS] window.open().close()  (0) 2020.10.16
[Java] HashSet foreach  (0) 2020.10.16
[Python] calling a function of a module by using its name (a string)  (0) 2020.10.03
[Java] forEach with index  (0) 2020.10.03
댓글