Java字符串切割及截取
字符串切割存入数组:String str = "a&b&c&d"; String[] strlist = str.split("&"); System.out.println(strlist.length); for(String s : strlist){ System.out.println(s); }截取字符串后几位:String...