stdlib
stdlib copied to clipboard
[RFC]: Add `@stdlib/string/base/replace-after-last`
Description
This RFC proposes adding a utility to replace the substring after the last occurrence of a specified search string.
Similar to other base string APIs, the package should assume valid inputs.
Logic should be similar to @stdlib/string/substring-after-last.
Package: @stdlib/string/base/replace-after-last
Alias: replaceAfterLast
Related Issues
None.
Questions
No.
Other
No.
Checklist
- [X] I have read and understood the Code of Conduct.
- [X] Searched for existing issues and pull requests.
- [X] The issue name begins with
RFC:.