經安全檢測,此網站為安全網站,請放心前往原始網址!

PHP substr切割中文字問題之處理 - 南十字星 - udn部落格

PHP中的 substr是以位元組來切割字串,如: $content = "這是 bruse 的測試"; echo substr($content,0,15)."

blog.udn.com

網址安全性掃描由 google 提供