Find files in directory which contains string

This command helps to find files with certain string:

find <path to directiry> -type f -print | xargs grep -i "string"