[#BloombergLP-bdlb-StringRefUtil-ltrim] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/StringRefUtil.adoc[StringRefUtil]::ltrim :relfileprefix: ../../../ :mrdocs: Return a `bslstl::StringRef` object referring to the substring of (the referent data of) the specified `string` that excludes all leading whitespace. See {Whitespace Character Specification}. If `string` consists entirely of whitespace, return a zero‐length reference to the end of `string` (i.e., `bslstl::StringRef(string.end(), 0)`). == Synopsis Declared in `<bdlb_stringrefutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] ltrim(xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& string); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#