arturdoruch / string-util
String utilities.
0.1.2
2021-10-03 02:41 UTC
Requires
- php: >=7.0
This package is auto-updated.
Last update: 2024-10-29 06:12:36 UTC
README
String utilities.
Installation
composer require arturdoruch/string-util
Contents
StringUtils
StringCaseConverter
CharsetUtils
Class API
-
StringUtils
methods:- contains
- containsPattern
- startsWith
- endsWith
- find
- findAll
- removeEmptyLines
-
StringCaseConverter
methods:- toPascal
- toCamel
- toSnake
- toKebab
- toTitle
- toFilename
-
CharsetUtils
methods:- isUtf8
- cleanupUtf8
- decodeHexCodePoints
- decodeNonBreakingSpaces
- removeAccents