-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[RFC]: Add @stdlib/string/base/replace-before-last #813
Copy link
Copy link
Closed
Labels
AcceptedRFC feature request which has been accepted.RFC feature request which has been accepted.FeatureIssue or pull request for adding a new feature.Issue or pull request for adding a new feature.Good First IssueA good first issue for new contributors!A good first issue for new contributors!JavaScriptIssue involves or relates to JavaScript.Issue involves or relates to JavaScript.RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.UtilitiesIssue or pull request concerning general utilities.Issue or pull request concerning general utilities.difficulty: 2May require some initial design or R&D, but should be straightforward to resolve and/or implement.May require some initial design or R&D, but should be straightforward to resolve and/or implement.priority: LowLow priority concern or feature request.Low priority concern or feature request.
Metadata
Metadata
Assignees
Labels
AcceptedRFC feature request which has been accepted.RFC feature request which has been accepted.FeatureIssue or pull request for adding a new feature.Issue or pull request for adding a new feature.Good First IssueA good first issue for new contributors!A good first issue for new contributors!JavaScriptIssue involves or relates to JavaScript.Issue involves or relates to JavaScript.RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.UtilitiesIssue or pull request concerning general utilities.Issue or pull request concerning general utilities.difficulty: 2May require some initial design or R&D, but should be straightforward to resolve and/or implement.May require some initial design or R&D, but should be straightforward to resolve and/or implement.priority: LowLow priority concern or feature request.Low priority concern or feature request.
Description
This RFC proposes adding a utility to replace the substring before 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-before-last.Package:
@stdlib/string/base/replace-before-lastAlias:
replaceBeforeLastRelated Issues
None.
Questions
No.
Other
No.
Checklist
RFC:.