[#BloombergLP-bdlb-IndexSpanStringUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::IndexSpanStringUtil
:relfileprefix: ../../
:mrdocs:

This struct serves as a namespace for utility functions that operate on `IndexSpan` and string objects&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct IndexSpanStringUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/IndexSpanStringUtil/bind-00.adoc[`bind`] 
| Return a string reference to the substring of the specified `string` as described by the specified `span`, meaning the substring starting at the `span&period;position()` index in `string` and having `span&period;length()` characters&period; The behavior is undefined unless `span&period;position() &lt;&equals; string&period;length()` and `span&period;position() &plus; span&period;length() &lt;&equals; string&period;length()`&period;
| xref:BloombergLP/bdlb/IndexSpanStringUtil/create-0e4.adoc[`create`] 
| `create` overloads
| xref:BloombergLP/bdlb/IndexSpanStringUtil/createFromPositions-09.adoc[`createFromPositions`] 
| `createFromPositions` overloads
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
