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

Returns a view of the substring [pos, pos + rcount), where rcount is the smaller of count and size() - pos.

# Declarations

constexpr basic_string_view
substr(size_type pos = 0, size_type count = npos ) const;

# Parameters

# Return value

View of the substring [pos, pos + rcount).

# See also