Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add replace() method #185

Open
shadowhand opened this issue May 7, 2018 · 0 comments
Open

Add replace() method #185

shadowhand opened this issue May 7, 2018 · 0 comments

Comments

@shadowhand
Copy link

shadowhand commented May 7, 2018

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant