[#BloombergLP-bdlb-IndexSpanStringUtil-bind-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/IndexSpanStringUtil.adoc[IndexSpanStringUtil]::bind :relfileprefix: ../../../ :mrdocs: 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()`. == Synopses Declared in `<bdlb_indexspanstringutil.h>` 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()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::string_view xref:BloombergLP/bdlb/IndexSpanStringUtil/bind-01.adoc[bind]( std::string_view const& string, xref:BloombergLP/bdlb/IndexSpan.adoc[IndexSpan] const& span); ---- [.small]#xref:BloombergLP/bdlb/IndexSpanStringUtil/bind-01.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::wstring_view xref:BloombergLP/bdlb/IndexSpanStringUtil/bind-07.adoc[bind]( std::wstring_view const& string, xref:BloombergLP/bdlb/IndexSpan.adoc[IndexSpan] const& span); ---- [.small]#xref:BloombergLP/bdlb/IndexSpanStringUtil/bind-07.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#