std::experimental::basic_string_view<CharT,Traits>::rfind

Finds the last substring equal to the given character sequence.

# Declarations

constexpr size_type rfind(basic_string_view v, size_type pos = npos) const noexcept;

(library fundamentals TS)

constexpr size_type rfind(CharT c, size_type pos = npos) const noexcept;

(library fundamentals TS)

constexpr size_type rfind(const CharT* s, size_type pos, size_type count) const;

(library fundamentals TS)

constexpr size_type rfind(const CharT* s, size_type pos = npos) const;

(library fundamentals TS)

# Parameters

# Return value

Position of the first character of the found substring or npos if no such substring is found.

# See also