자바 String 공백으로 분리하여 List 저장

조회 3,074 · 댓글 0
영웅문작성자2019년 1월 31일
List<String> items = Arrays.asList(myText.split("\\s+"));

로그인 후 답글을 남길 수 있습니다.