[#BloombergLP-bdlb-String-ltrim-0d] = 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`. If `string` consists of only whitespace then it will be empty (i.e., have 0 length) after this operation. The behavior is undefined unless `string‐>size() <= INT_MAX` (if applicable). See `bdlb_stringviewutil` for an identically named method having similar semantics taking (and returning) `bsl::string_view`. == Synopsis Declared in `<bdlb_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void ltrim(char* string); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#