[#BloombergLP-bdlb-IndexSpanStringUtil-create-0e5]
= 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&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;indexspanstringutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlb/IndexSpan.adoc[IndexSpan]
create(
    std::wstring&lowbar;view const& string,
    std::wstring&lowbar;view::const&lowbar;iterator begin,
    std::wstring&lowbar;view::const&lowbar;iterator end);
----

== Return Value

an `IndexSpan` describing the half&hyphen;open range &lsqb;`begin`, `end`)&rsqb;

== 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]#
