boost::urls::grammar::string_view_base::rfind

Return the position of matching characters

Synopses

Declared in <boost/url/grammar/string_view_base.hpp>

Return the position of matching characters

constexpr
size_type
rfind(
    char c,
    size_type pos = core::string_view::npos) const noexcept;
» more...

Return the position of matching characters

constexpr
size_type
rfind(
    core::string_view str,
    size_type pos = core::string_view::npos) const noexcept;
» more...

Return the position of matching characters

constexpr
size_type
rfind(
    char const* s,
    size_type pos = core::string_view::npos) const noexcept;
» more...

Return the position of matching characters

constexpr
size_type
rfind(
    char const* s,
    size_type pos,
    size_type n) const noexcept;
» more...

Return Value

The position of the first match

Parameters

NameDescription
cThe character to search for
posThe position to start searching from
strThe characters to search for
sThe characters to search for
nThe number of characters to search for