摘要: System.out.println(":ab:cd:ef::".split(":").length);//末尾分隔符全部忽略 System.out.println(":ab:cd:ef::".split(":",-1).length);//不忽略任何一个分隔符 System.out... 阅读全文
posted @ 2014-12-29 16:20 myJoan 阅读(14379) 评论(0) 推荐(0) 编辑