모음제거1 [ 프로그래머스 ] 모음 제거 문제 풀이 1) my_string에서 a,e,i,o,u인 것만 골라서 공백으로 제거하려면 replaceAll()을 사용한다. 결과 class Solution { public String solution(String my_string) { String answer = my_string.replaceAll("[aeiou]",""); return answer; } } 2024. 3. 10. 이전 1 다음