every-index-of
Simple piece of code tha returns every occurence of a single character in a string by it index.
Installation
$ npm install every-index-of
Usage
var evrIndex = ; let all;
Should return an array like so:
2 3
Or the case sensitive vertion:
var evrIndex = ; let all;
Should return:
-1
Features
- Case insensetive
- return -1 if there are no occurences