boost::urls::grammar::string_view_base::find_first_of

Return the position of the first match

Synopses

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

Return the position of the first match

constexpr
size_type
find_first_of(
    char c,
    size_type pos = 0) const noexcept;
» more...

Return the position of the first match

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

Return the position of the first match

constexpr
size_type
find_first_of(
    char const* s,
    size_type pos = 0) const noexcept;
» more...

Return the position of the first match

constexpr
size_type
find_first_of(
    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