Javascript Function index.Of() Array Return Multiple Values

Javascript Function/Code to get ALL Occurences of a String within a String via Function indexes_of(tosearch, tofind)

Home Short:
S
H
A
R
E