0.1.0 • Published 6 years ago

split-after v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 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

6 years ago

0.0.0

6 years ago