Get all index of substring in string javascript July 8, 2019 16 32 64 128 Get index of substring in string javascript