Java小bug

1.使用split函数,将字符串按"."分开,写法如下:

String str = "a.b.c";

String[] items = str.split("\.");

原文地址:https://www.cnblogs.com/guo-xiang/p/4238685.html