? Ce document utilise Manuel du site Web PHP chinois Libérer
去掉字符串起始和結(jié)尾的空格。
需要處理的字符串
$.trim(" hello, how are you? ");
"hello, how are you?"