Skip to content

[RFC]: add string/base/slice #33

Closed
stdlib-js/stdlib
#5395
@kgryte

Description

@kgryte

This task should implement a functional API for slicing a string based on UTF-16 code units.

The behavior should match the built-in String.prototype.slice. However, all arguments should be required:

slice( str, start, end )

Related: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/string/base/for-each

Time estimate without AI: 4hrs
Time estimate with AI: 2-3hrs

Metadata

Metadata

Assignees

Labels

FeatureTask to add a new feature.difficulty: 1Low degree of difficulty. Should be straightforward to implement and/or resolve.estimate: 2-4hrsTask which should take between 2 to 4 hours.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions