ecshop截取字符串函数

substr('dfasdfasd',0,3);//从位置0开始,截取长度为3

substr 函数,

参数:字符串,起始位置,长度

posted @ 2012-09-02 18:49  沐雪架构师  阅读(503)  评论(1)    收藏  举报