Skip to content

Implement StringMethod slice_replace #8888

Closed
@billletson

Description

@billletson

The StringMethod slice_replace currently raises NotImplementedError. Couldn't find an issue for it, so opening this. PR with implementation in the works.

Could use thoughts on how to handle slices that return an empty string on some subset of strings - should the replacement string appear or not? This could happen when the input string is empty, the stop index is less than or equal to the start index (separate cases?), or both start and stop are greater than the length of the string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementStringsString extension data type and string data

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions