I'd like to get a list of indexes into an array that matches a character. E.g.:
"a foo a bar a".indexes("a") == [0, 6, 12] Anything like that in Phobos?
I'd like to get a list of indexes into an array that matches a character. E.g.:
"a foo a bar a".indexes("a") == [0, 6, 12] Anything like that in Phobos?