BloombergLP::bdlb::IndexSpanStringUtil::create

Same as the preceding overload for wide-character string.

Synopsis

Declared in <bdlb_indexspanstringutil.h>

static
IndexSpan
create(
    std::wstring_view const& string,
    IndexSpan::size_type begin,
    IndexSpan::size_type length);

Return Value

an IndexSpan describing the substring at begin of length

Parameters

NameDescription
stringstring containing the substring
beginstarting position of the substring
lengthlength of the substring