字符串的trim方法
Return a new string with removed white space from the beginning and the end of the original string
返回一个新字符串,从原始字符串的开头和结尾删除空格
'Testing'.trim() //'Testing'
' Testing'.trim() //'Testing'
' Testing '.trim() //'Testing'
'Testing '.trim() //'Testing'
字符串的trim方法