class Solution {
public int solution(String myString, String pat) {
int answer = 0;
return answer;
}
}
class Solution {
public int solution(String myString, String pat) {
int answer = 0;
if (myString.toLowerCase().contains(pat.toLowerCase())) {
answer = 1;
}
return answer;
}
}
class Solution {
public int solution(String myString, String pat) {
int answer = 0;
String myString_Low = myString.toLowerCase();
String pat_Low = pat.toLowerCase();
if (myString_Low.indexOf(pat_Low) != -1) {
return 1;
}
return 0;
}
}
indexOf()