在用substr 秀中文字串時,常常因為big5用2 byte , utf8 用3 byte,不知如何切,今天在網上找到方法,改用mb_substr 就可以,需計算字數用mb_strlen.
確定! 回上一頁