首页 > 开发 > PHP > 正文

PHP explode()函数的几个应用和implode()函数有什么区别

2024-05-04 22:34:15
字体:
来源:转载
供稿:网友

explode()函数介绍

explode() 函数可以把字符串分割为数组。

语法:explode(separator,string,limit)。

参数 描述
separator 必需。规定在哪里分割字符串。
string
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表