例如: String geom="point(121)"; String[] list = geom.split("[(]|[)]");. 2.split()用法. 在java.lang包中有String.split()方法,返回是一个数组。
確定! 回上一頁