在PHP 中取得字串長度可以使用strlen() 函式,語法如下PHP strlen() 函數基本 ... 函式會回傳字串的長度,其中的"字串"是必要項目,即為要計算長度的String。
www.wibibi.com