trim() 函数从字符串的两端删除空白字符和其他预定义字符。 trim(string,charlist) 原文 http://www.w3school.com.cn/php/func_string_trim.asp