Return an IndexSpan describing the substring of the specified string as defined by the begin() and end() of the specified subString. The behavior is undefined unless subString.begin() <= string.end(), subString.end() <= string.end(), subString.begin() >= string.begin(), and subString.end() <= string.begin().

Synopsis

Declared in <bdlb_indexspanstringutil.h>

static
IndexSpan
create(
    std::string_view const& string,
    std::string_view const& subString);

Created with MrDocs