php函数 截断字符

mb_substr($str,0,40,'utf-8')

转载于:https://www.cnblogs.com/hfeng007/p/9212931.html

你可能感兴趣的:(php函数 截断字符)