0.1.0 • Published 7 years ago

split-after v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Split-after: Splits a string at a certain number

Install: npm i split-after

const splitnth = require('split-after')

const str = 'HEY|THERE|BUDDY!';

console.log(splitnth(str, '|', 2)) // [ 'HEY|THERE', 'BUDDY!' ]
0.1.0

7 years ago

0.0.0

7 years ago