1.0.0 • Published 8 years ago
sev-indexof v1.0.0
sev-indexOf
It returns the index value appears in the n-th
Installation
$ npm install sev-indexof
Example
var sevIndexOf = require('sev-indexof');
var str = 'hoge hoge fuga hoge';
console.log(sevIndexOf(str, 'hoge', 2); // 5
License
MIT
1.0.0
8 years ago