相关疑难解决方法(0)

PHP中的多个分隔符拆分字符串

可以根据多个分隔符将字符串解析为数组吗?如代码中所述:

$str ="a,b c,d;e f";
//What i want is to convert this string into array
//using the delimiters space, comma, semicolon
Run Code Online (Sandbox Code Playgroud)

php

5
推荐指数
1
解决办法
8426
查看次数

标签 统计

php ×1