Gene by Gene interview question

Find all instances of a substring in a given string.