PHP 的 explode 函數可以將字串根據指定的字元,切割成陣列,例如以空白切割字串: # 原始資料 $str = "an apple a day"; # 以空白切割字串 $arr = explode(" ", $str) ...
確定! 回上一頁