Enter换行符
如果包含有回车换行符,在字符串中表现为“ ”;
会返回一条字符串;
原文章:https://blog.csdn.net/shenlf_bk/article/details/79408840;
// 检测Enter ReplaceSeperator(mobiles) { var i; var result = "" ; var c; for (i = 0; i < mobiles.length; i++) { c = mobiles.substr(i, 1); if (c == ";" || c == "," || c == "," || c == " " ) result = result + this.Enter ; else if (c != " " ) result = result + c; } return result; },