Return an IndexSpan describing the substring of the specified string starting at the specified begin and ending (not including) the specified end. The behavior is undefined unless begin >= string.begin(), begin <= string.end(), end <= string.end(), and begin <= end.

Synopsis

Declared in <bdlb_indexspanstringutil.h>

static
IndexSpan
create(
    std::string_view const& string,
    std::string_view::const_iterator begin,
    std::string_view::const_iterator end);

Created with MrDocs