字符串编码为GB2312的,一个中文字符占两个字节,代码如下: public static ... substr ( $str, $i, 2 ); // 每次取出两位字符赋给变量$tmpstr,即等于 ...
確定! 回上一頁