Closed
Description
Description
This RFC proposes adding a utility to replace the substring before the first 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-before
.
Package: @stdlib/string/base/replace-before
Alias: replaceBefore
Related Issues
None.
Questions
No.
Other
No.
Checklist
- I have read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
- The issue name begins with
RFC:
.