1.中文截取:mb_substr( start, encoding )
start,截断开始处,起始处为0
encoding,网页编码,如utf-8,GB2312,GBK
2.获取中文长度:mb_strlen()
mb_strlen( encoding )
encoding,网页编码,如utf-8,GB2312,GBK
1.中文截取:mb_substr( start, encoding )
start,截断开始处,起始处为0
encoding,网页编码,如utf-8,GB2312,GBK
2.获取中文长度:mb_strlen()
mb_strlen( encoding )
encoding,网页编码,如utf-8,GB2312,GBK