Skip to content

Adds _.rchop (with README, tests)#312

Open
dsc wants to merge 8 commits into
esamattis:masterfrom
dsc:master
Open

Adds _.rchop (with README, tests)#312
dsc wants to merge 8 commits into
esamattis:masterfrom
dsc:master

Conversation

@dsc

@dsc dsc commented Sep 28, 2014

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant