摘要:
String.split():------------------------------------------- String test = "123,123,,123,,"; ------------------------------------------- //结尾的空格元素,不会作为arr的一个元素而返回 split(",");String[] arr1 = test.split(","); System.out.println(arr1.length); ==>4------------------------- 阅读全文
posted @ 2012-06-27 16:57
tomcat and jerry
阅读(803)
评论(0)
推荐(0)