반응형 BackEnd FrontEnd/JAVA22 string 배열 나누기 public class StringSplitExam { public static void main(String[] args) { String data = "사과!@#$%^배!@#$%^파인애플!@#$%^망고!@#$%^수박"; String delimiter = "!@#$%^"; String[] dataArr = data.split(delimiter); for(int i=0; i 2016. 11. 22. String to int String to int String from = "123";int to = Integer.parseInt(from); int to String int from = 123;String to = Integer.toString(from); 2016. 11. 22. 이전 1 ··· 3 4 5 6 다음 반응형