size_type rfind(E c, size_type pos = npos) const;
size_type rfind(const E *s, size_type pos = npos) const;
size_type rfind(const E *s, size_type pos, size_type n = npos) const;
size_type rfind(const basic_string& str,
size_type pos = npos) const;
Each member function finds the last (highest beginning position) subsequence in the controlled sequence, beginning
on or before position pos
, that matches the operand sequence specified by the remaining operands. If it succeeds, it
returns the position where the matching subsequence begins. Otherwise, the function returns npos
.