Return part of the string starting from another string.

Twine\Str::from( string $string ) : Twine\Str

Parameters

$string The string to start from
$length Length of substring

Examples

$string = new Twine\Str('john pinkerton');

        $string->from('pink'); // Returns 'pinkerton'
        $string->from('purple'); // Returns ''