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

Return the position of matching characters

Synopses

Return the position of matching characters

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

Return the position of matching characters

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

Return the position of matching characters

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

Return the position of matching characters

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

Return Value

The position of the first match

Parameters

Name

Description

str

The characters to search for

pos

The position to start searching from

c

The character to search for

s

The characters to search for

n

The number of characters to search for

Created with MrDocs