阅读背景:

js删除字符串前面后面的空字符串

来源:互联网 

1.使用js的trim()方法

var str1 = " hello world "" hello world



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: