String str="111??? 222???? 333";String[] strs=String.split("\\s+");//可以去掉String中的多個空格
split(" ");//只能分隔一個空格
posted on 2009-08-12 21:29 李峰 閱讀(241) 評論(0) 編輯 收藏
Powered by: BlogJava Copyright © 李峰