\\s : 공백 \\s+ : 하나 이상의 공백
String str1="A B C D"; String[] arr=str1.split("\\s+");
이럴 경우 A B C D 가 각각 하나씩 배열에 저장됨