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

Finds the first substring equal to the given character sequence.

# Declarations

constexpr size_type find(basic_string_view v, size_type pos = 0) const noexcept;

(library fundamentals TS)

constexpr size_type find(CharT c, size_type pos = 0) const noexcept;

(library fundamentals TS)

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

(library fundamentals TS)

constexpr size_type find(const CharT* s, size_type pos = 0) 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