emanhamidi/string-utils

简单字符串工具,便于处理字符串

v1.0.0 2021-08-30 16:14 UTC

This package is auto-updated.

Last update: 2024-09-29 06:08:58 UTC


README

简单字符串工具,便于处理字符串

安装

使用composer安装

composer require emanhamidi/string-utils

示例

<?php

require __DIR__.'/vendor/autoload.php';

use \emanhamidi\StringUtils\Str;

var_dump(Str::contains('abcd', ['ab', 'x']));