<?php $str = "123456789"; echo substr($str , 0 , 3);//从左边第一位字符起截取3位 ... 中文字符串的截取和获取长度 mb_substr() $str = '我abc是谁'; //utf-8编码的 ...
確定! 回上一頁