Skip to content

Enhancement-StringBuilder to provide replace(CharSequence target, CharSequence replacement) like String which will make it more easier to manipulate existing StringBuilder instead of creating new for these kind of replacement. #32584

@Shivangip285

Description

@Shivangip285

https://github.com/spring-projects/spring-boot
StringBuilder to provide replace(CharSequence target, CharSequence replacement) like String which will make it more easier to manipulate existing StringBuilder instead of creating new for these kind of replacement.StringBuilder offer public StringBuilder replace(int start, int end, String str) for replacement of substring, but if in case start(starting index) and end(ending index) of substring to be replaced in not known then there is no inbuilt method like replace(CharSequence target, CharSequence replacement) is present which can make the task easier like String.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions