class Solution {
public String solution(String[] str_list, String ex) {
String answer = "";
return answer;
}
}
class Solution {
public String solution(String[] str_list, String ex) {
String answer = "";
for (int i = 0; i < str_list.length; i++){
if (!str_list[i].contains(ex)) {
answer += str_list[i];
}
}
return answer;
}
}
!contains
형태로 사용 가능하다!