trim() 函數從字元串的兩端删除空白字元和其他預定義字元。 trim(string,charlist) 原文 http://www.w3school.com.cn/php/func_string_trim.asp