PHP原生函数和自己实现函数均可echosubstr(strrchr($file,&039;.&039;),1);echosubstr($file,strrpos($file,&039;.&039;)+1);$ar...
functionGBsubstr($string,$start,$length){if(strlen($string)>$length){$str=null;$len=$start+$l...
PHP原生函数和自己实现函数均可echosubstr(strrchr($file,&039;.&039;),1);echosubstr($file,strrpos($file,&039;.&039;)+1);$ar...
functionGBsubstr($string,$start,$length){if(strlen($string)>$length){$str=null;$len=$start+$l...