一、用php 函數str_replace( " ", " ",$str) 替換. 代碼如下: · 二、用php 函數trim(string,charlist)替換(只能替換字符串兩端空格,中間空格無法去掉).
確定! 回上一頁