Skip to content

Add replace() method #185

@shadowhand

Description

@shadowhand

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions