Say I have an input string like "foo-bar-foobar-baz", and I want to find the index of each hyphen.
"foo-bar-foobar-baz"
The way I have it set up right now (and this