std::find_first_of Searches in the set of elements for the first occurrence of any element of another set, and
std::find Finds in the same range the first element that satisfies certain conditions. It is clear how these search algorithms differ.
But what is the difference between std::string::find and std::string::find_first_of ? If it is not difficult to give an example, where one function is preferable to another.