class Solution { public String[] solution(String my_string) { return my_string.trim().split("[ ]+"); } } //정규 표현식을 사용해 공백 한 칸 제거 String[] arStr = "eoeo eoeo".split("\\s"); //정규 표현식을 사용해 가변적인 공백을 제거 String[] arStr = "aeoeo eoeo".split("\\s+");