arturdoruch / string-util
字符串工具。
0.1.2
2021-10-03 02:41 UTC
Requires
- php: >=7.0
This package is auto-updated.
Last update: 2024-08-29 05:44:02 UTC
README
字符串工具。
安装
composer require arturdoruch/string-util
内容
StringUtils
StringCaseConverter
CharsetUtils
类 API
-
StringUtils
方法- contains
- containsPattern
- startsWith
- endsWith
- find
- findAll
- removeEmptyLines
-
StringCaseConverter
方法- toPascal
- toCamel
- toSnake
- toKebab
- toTitle
- toFilename
-
CharsetUtils
方法- isUtf8
- cleanupUtf8
- decodeHexCodePoints
- decodeNonBreakingSpaces
- removeAccents