underscore.string icon indicating copy to clipboard operation
underscore.string copied to clipboard

Adds `_.rchop` (with README, tests)

Open dsc opened this issue 11 years ago • 0 comments

As I've added to the README:

rchop _.rchop(string, step)

_.rchop('whitespace', 3)
=> ['w', 'hit', 'esp', 'ace']

Mirrors _.chop (and adds lchop as an alias for chop). Comes with tests.

dsc avatar Sep 28 '14 08:09 dsc