摘要: var str = "abd def";var arr = new Array();arr = str.split(" ");if(arr.length != 1){ alert("字符串含有空格!"); return false;} 阅读全文
posted @ 2012-06-24 07:45 积累从点滴开始 阅读(16800) 评论(1) 推荐(0) 编辑