uwebpro/substring

A simple method for getting sub-strings

v4.0.0 2021-08-13 15:07 UTC

This package is auto-updated.

Last update: 2024-04-21 13:07:22 UTC


README

A miniature library to add a substring function/method to your work.

Function Usage

$result = substring($document, 'start', 'end');

Trait Usage

class MyClass{
    use UWebPro\Str\Substring;

    public function myMethod($document){
        ...
        return $this->substring($document, 'start', 'end');
    }
}