• str = “1 2 4 5”;
  • String[] array = str.split(” “);
  • array == {1, 2, 4, 5}
  • : 문자열을 공백으로 분리하여 배열에 저장