//“.”需要转义,而且转义了两次
string[] tokens = token.split("\\.");
八、Java常用小知识之用“.”分割
猜你喜欢
转载自blog.csdn.net/panchang199266/article/details/80631636
今日推荐
周排行