stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

[RFC]: Add `@stdlib/string/base/replace-after-last`

Open kgryte opened this issue 3 years ago • 3 comments

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:.

kgryte avatar Feb 01 '23 00:02 kgryte

Hey @kgryte, Can i work on this issue?

auenkr avatar Feb 23 '24 20:02 auenkr

I have read the requirements needed for this issue, Can I be assigned so that I can start working ? Thanks

varunsh17 avatar Feb 23 '24 20:02 varunsh17

Looks like @AuenKr has already submitted a PR for this, so will assign accordingly.

kgryte avatar Feb 24 '24 10:02 kgryte