php 截取字符串指定长度

 1 $text=mb_substr($str, $start, $end, 'utf8').'...'; 

猜你喜欢

转载自www.cnblogs.com/hanivy/p/9287424.html