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?
If you won't go with regex:
"ABCDEFGHIJKLMNOP".toLowerCase().contains("gHi".toLowerCase())