原创 中文字符串截取 mb_substr

中文字符串截取 mb_substr( $str, $start, $length, $encoding ); $str,需要截斷的字符串 $start,截斷開始處,起始處爲0 $length,要截取的字數 $encodin