A simple iterative version of subStringMatchExact that returns a tuple of indicies of key in target