trim

Methods

KISSY.trim()
String KISSY.trim (str)
去除字符串两端的空白字符.
Parameters:str – 原始字符串
Returns:去除空白后新的字符串
Return type:String