String.prototype.trim = function(){
return this.replace(/^s+|s+$/g, "");};
js 字符串去空格
猜你喜欢
转载自blog.csdn.net/lannieZ/article/details/112761834
今日推荐
周排行