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 • 0 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