function trim(s){
return s.replace(/(^/s*)|(/s*$)/g,"");
}
js 去除左右空格 最精炼的函数
猜你喜欢
转载自blog.csdn.net/wccczxm/article/details/4534975
今日推荐
周排行