Solution for the substring match problem