[#BloombergLP-bdlb-IndexSpanStringUtil-create-0f7] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/IndexSpanStringUtil.adoc[IndexSpanStringUtil]::create :relfileprefix: ../../../ :mrdocs: Same as the preceding overload for the specified string type. == Synopsis Declared in `<bdlb_indexspanstringutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlb/IndexSpan.adoc[IndexSpan] create( xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& string, xref:BloombergLP/bslstl/StringRefImp-0c.adoc[bslstl::StringRef::const_iterator] begin, xref:BloombergLP/bslstl/StringRefImp-0c.adoc[bslstl::StringRef::const_iterator] end); ---- == Return Value an `IndexSpan` describing the half‐open range [`begin`, `end`)] == Parameters [cols="1,4"] |=== | Name| Description | *string* | string containing the substring | *begin* | iterator to the start of the substring | *end* | iterator one past the end of the substring |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#