//trim() 函数从字符串的两端删除空白字符和其他预定义字符。trim(string,charlist) 转载于:https://www.cnblogs.com/zong/archive/2010/02/23/1672154.html