php 截取字符串指定长度

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

posted @ 2018-07-10 09:58  柒小乐  阅读(2912)  评论(0编辑  收藏  举报