摘要:
<?php $str = substr('helloword',3,4);//从下标3开始截取截取4个字符 $str = substr('helloword',3);//从截取掉前三个字符 $str = substr('你说你是不是傻',-3);//从截取后三个字符 /** * mb_substr */ //首先需要开启php.ini下面的 extension=php_m... 阅读全文
posted @ 2019-04-27 20:52
刘俊涛的博客
阅读(1186)
评论(0)
推荐(0)
摘要:
文章来源:刘俊涛的博客 欢迎关注,有问题一起学习欢迎留言、评论 阅读全文
posted @ 2019-04-27 20:31
刘俊涛的博客
阅读(270)
评论(0)
推荐(0)