boost::urls::grammar::string_view_base::rfind :: Boost Libraries Documentation

# 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

Name | Description
c | The character to search for
pos | The position to start searching from
str | The characters to search for
s | The characters to search for
n | The number of characters to search for

Created with MrDocs