Remove one or more strings from the string.
Twine\Str::strip( string|array $search ) : Twine\Str
$search | One or more strings to be removed |
$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'