經安全檢測,此網站為安全網站,請放心前往原始網址!

java截取字元串,截串,substring和split,分割字母和數字,正則縫隙 - muyu114的專欄 - 博客頻道 - CSDN.NET

public class splitTest { public static void main(String[] args) { String s = new String("01:大汽車"); String a[] = s.split(":"); System.out.println(a[0]); System.out.println(a[1]); } } split分割字母和數字,簡單正則縫隙

blog.csdn.net

網址安全性掃描由 google 提供