[#BloombergLP-bdldfp-DecimalUtil_CStringUtil-flatten-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil_CStringUtil.adoc[DecimalUtil_CStringUtil]::flatten :relfileprefix: ../../../ :mrdocs: Return a temporary `bsl::string` constructed from the specified `stringRef`. == Synopsis Declared in `<bdldfp_decimalutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:bsl/string.adoc[bsl::string] flatten(xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& stringRef); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#