[#BloombergLP-bdlb-IndexSpanStringUtil-createFromPositions-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/IndexSpanStringUtil.adoc[IndexSpanStringUtil]::createFromPositions :relfileprefix: ../../../ :mrdocs: `createFromPositions` overloads == Synopses Declared in `<bdlb_indexspanstringutil.h>` 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.length()` and `end <= string.length()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlb/IndexSpan.adoc[IndexSpan] xref:BloombergLP/bdlb/IndexSpanStringUtil/createFromPositions-01.adoc[createFromPositions]( std::string_view const& string, xref:BloombergLP/bdlb/IndexSpan/size_type.adoc[IndexSpan::size_type] begin, xref:BloombergLP/bdlb/IndexSpan/size_type.adoc[IndexSpan::size_type] end); ---- [.small]#xref:BloombergLP/bdlb/IndexSpanStringUtil/createFromPositions-01.adoc[_» more..._]# Same as the preceding overload for wide‐character `string`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlb/IndexSpan.adoc[IndexSpan] xref:BloombergLP/bdlb/IndexSpanStringUtil/createFromPositions-00.adoc[createFromPositions]( std::wstring_view const& string, xref:BloombergLP/bdlb/IndexSpan/size_type.adoc[IndexSpan::size_type] begin, xref:BloombergLP/bdlb/IndexSpan/size_type.adoc[IndexSpan::size_type] end); ---- [.small]#xref:BloombergLP/bdlb/IndexSpanStringUtil/createFromPositions-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#