Programming/Java (1) 썸네일형 리스트형 [Java] String[] split(String regex) /** * * @author codingNature * * String[] split(String regex) * https://jamesdreaming.tistory.com/84 * */ public class StringTest { public static void main(String[] args) { System.out.println("aron."); String code = "0237702659"; String[] mobnum = code.split("T"); String tp_item_val = "99"; String lvlCode = ""; if(mobnum.length == 2) { lvlCode = mobnum[1]; System.out.println("lvlCode = " + lvlCo.. 이전 1 다음