sbolch/multiexplode
最新稳定版本:v1.0.2
Composer 安装命令:
composer require sbolch/multiexplode
包简介
Splits a string (like explode function) by multiple limiters.
关键字:
README 文档
README
Splits a string (like explode function) by multiple limiters.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require sbolch/multiexplode
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Usage
$results = multiexplode(array('/', '://', ':', '?', '#', ':'), 'http://url.com/example:80?query#hash');
returns:
Array
(
[0] => http
[1] => url.com
[2] => example
[3] => 80
[4] => query
[5] => hash
)
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-06