Skip to content

String::replace() broken by recent commits #4920

Closed
@mike-s123

Description

@mike-s123

@me-no-dev

Pulled the latest head (4d95e3a), String::replace() is broken.

String foo = "/sd/ctl00000000.rrd";
foo.replace("/sd/","/");

Should result in foo containing "/ctl00000000.rrd". Instead, it results in "/ctl00000000. 0."

Going back in time to before the recent String commits...

git reset --hard 6e7cc521

fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions