[#BloombergLP-bdlb-String-ltrim-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/String.adoc[String]::ltrim :relfileprefix: ../../../ :mrdocs: Remove all leading whitespace characters from the specified `string`. == Synopsis Declared in `<bdlb_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void ltrim(std::string* string); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#