Closed
Description
Description
This RFC proposes adding the string/base/last
package which will return the last n
UTF-16 code units of a string.
Signature:
last( string, n )
Eg.
var s = first( 'hello', 1 );
// returns 'o'
Package: @stdlib/string/base/last
Alias: last
This will help with development of @stdlib/string/last
issue #854
Related Issues
Related issues #854
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:
.
Metadata
Metadata
Assignees
Labels
Issue or pull request for adding a new feature.Issue involves or relates to JavaScript.Request for comments. Feature requests and proposed changes.Issue or pull request concerning general utilities.May require some initial design or R&D, but should be straightforward to resolve and/or implement.Normal priority concern or feature request.