织梦当前位置不显示最后一个符号

来源:互联网 发布:淘宝信用贷款逾期一天 编辑:程序博客网 时间:2024/05/17 23:42
  {dede:field name='position' runphp='yes'}
$a=mb_strlen(@me);//计算字符串的长度
@me=cn_substr(@me,$a-2,-1);//截取字符
{/dede:field}
原创粉丝点击