Multiple choice technology programming languages

Find character in string from the end. Choose the correct one.

  1. find_last_of

  2. find_first_not_of

  3. data

  4. find

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In C++ std::string, 'find_last_of' searches for the last character in the string that matches any of the characters specified in the arguments, effectively searching from the end. 'find' searches from the beginning.