Return a string reference to the substring of the specified string as described by the specified span, meaning the substring starting at the span.position() index in string and having span.length() characters. The behavior is undefined unless span.position() <= string.length() and span.position() + span.length() <= string.length().
Declared in <bdlb_indexspanstringutil.h>
Return a string reference to the substring of the specified string as described by the specified span, meaning the substring starting at the span.position() index in string and having span.length() characters. The behavior is undefined unless span.position() <= string.length() and span.position() + span.length() <= string.length().
static
std::string_view
bind(
std::string_view const& string,
IndexSpan const& span);
» more...
static
std::wstring_view
bind(
std::wstring_view const& string,
IndexSpan const& span);
» more...