opxcore/string

The OpxCore string utils.

dev-main 2021-03-09 14:39 UTC

This package is auto-updated.

Last update: 2024-04-09 22:05:18 UTC


README

Str::startsWith($haystack, $needle) - is string $haystack starts with string $needle. Returns true or false. Str::substr($string, $offset, $length) - extract part of string. Str::cutFromStart($string, $count) - remove $count symbols from start of $string