-
public class Temp {public static void main(String[] args) {
String a="dsadgafa34";
System.out.println(a.substring(5));
System.out.println(a.substring(5, 6)); -
String b = new String("01:大汽车");
String c[]=b.split(":");
System.out.println(c[0]);
System.out.println(c[1]);
}
}