[#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. == Synopsis Declared in `<bdlb_indexspanstringutil.h>` [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.position()` index in `string` and having `span.length()` characters. The behavior is undefined unless `span.position() <= string.length()` and `span.position() + span.length() <= string.length()`. | 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]#