摘要: 使用String类的subString()方法进行截取。 public class Test2 { public static void main(String[] args) { String a = "123456789"; String b = a.substring(3,6); System 阅读全文
posted @ 2020-11-12 15:07 白豹 阅读(876) 评论(0) 推荐(0)