Remove one or more strings from the string.

Twine\Str::strip( string|array $search ) : Twine\Str

Parameters

$search One or more strings to be removed

Examples

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

        $string->strip('pink'); // Returns 'john erton'
$string = new Twine\Str('john pinkerton');

        $string->strip(['a', 'e', 'i', 'o', 'u']); // Returns 'jhn pnkrtn'