laoa

http://weibo.com/2141537747
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年8月17日

摘要: 引用一段邮件:哈哈。。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)