PHP string manipulation functions for highly recurrent tasks.
The purpose of libxstring
is to curtail usage of trim($str, '/')
and
explode('/', $str)
when manipulating strings in PHP.
composer require auroraextensions/libxstring
bsexplode
Split a string by backslash.fsexplode
Split a string by forward slash.hyexplode
Split a string by hyphen.usexplode
Split a string by underscore.
bsimplode
Join array elements with backslash.fsimplode
Join array elements with forward slash.hyimplode
Join array elements with hyphen.usimplode
Join array elements with underscore.