摘要:
引用一段邮件:哈哈。。easy~~String[] oneCell="aaa b b ccc d d e e";String[] names;oneCell.replace(" "," "); //替换多空格为单空格,字符串预处理下。//注意下全半角oneCell.insert(0," "); //为了应付如a a b b c c的极端情况,先在前面插入个空格for(int i=0;i<oneCell.lenght;i++){ if(oneCell[i]!=" ") names[i]=on 阅读全文
posted @ 2011-08-17 00:42 laoa 阅读(375) 评论(0) 推荐(0)
浙公网安备 33010602011771号