[RFC]: Add @stdlib/string/first
#853
Labels
Feature
Issue or pull request for adding a new feature.
Good First Issue
A good first issue for new contributors!
RFC
Request for comments. Feature requests and proposed changes.
Description
This RFC proposes adding support for returning the first (visual) character(s) of a string.
Signature:
where
n
specifies the number of visual characters to return. Default:1
.E.g.,
Package:
@stdlib/string/first
Alias:
first
Related Issues
None.
Questions
No.
Other
See
@stdlib/string/remove-first
for a similar package.Checklist
RFC:
.The text was updated successfully, but these errors were encountered: