[#BloombergLP-bdld-Datum-theString] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::theString :relfileprefix: ../../../ :mrdocs: Return the string value represented by this object as a `bslstl::StringRef` object. The behavior is undefined unless this object actually represents a string value. == Synopsis Declared in `<bdld_datum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] theString() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#