<?php; $string = 'hello world!!!';; $search = '!';; echo substr_count($string, $search); //計算search字串在$string字串裡出現的次數
確定! 回上一頁