if(preg_match("/[\x80-\xff]/", substr($str, $i, 1))) ++$i; ++$count; } return substr($str, 0, $i); } //统计字符串长度-UTF8 (PHP)
確定! 回上一頁