Stringy icon indicating copy to clipboard operation
Stringy copied to clipboard

Add replace() method

Open shadowhand opened this issue 7 years ago • 0 comments

It would be nice to have a generic replace() method:

$s = $s->replace('foo', 'bar');

Expected signature:

function replace(string $search, string $replace, int $limit = -1);

shadowhand avatar May 07 '18 14:05 shadowhand