会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
微客鸟窝
公众号《微客鸟窝》笔者,目前从事web后端开发,涉及语言PHP、golang!获得美国《时代周刊》2006年度风云人物!
博客园
首页
新随笔
联系
订阅
管理
2015年9月9日
PHP:字符串转数组,数组转字符串;字符串截取、替换、查找
摘要: 字符串转数组$str = 'one|two|three|four';print_r(explode('|', $str)); //explode 以字符串分割字符串到数组$str = 'one two three'; //str_split 以位数分割$arr1 = str_spli...
阅读全文
posted @ 2015-09-09 10:51 微客鸟窝
阅读(809)
评论(0)
推荐(0)
编辑
公告
/* 看板娘 */