[#BloombergLP-bslstl-StringRefImp-0c-data] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StringRefImp-0c.adoc[StringRefImp]::data :relfileprefix: ../../../ :mrdocs: Return the address of the first character of the string bound to this string reference such that `[data() .. data()+length())]` is a valid half‐open range of characters. Note that the range of characters might not be null‐terminated and may contain embedded null characters. == Synopsis Declared in `<bslstl_stringref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CHAR_TYPE const* data() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#