ltrim overloads
Declared in <bdlb_string.h>
Remove leading whitespace characters from string.
static
void
ltrim(char* string);
» more...
Remove leading whitespace characters from string.
static
void
ltrim(bsl::string* string);
» more...
Remove leading whitespace characters from string.
static
void
ltrim(std::pmr::string* string);
» more...
Remove leading whitespace characters from string.
static
void
ltrim(std::string* string);
» more...
Remove leading whitespace and update *length accordingly.
static
void
ltrim(
char* string,
int* length);
» more...
| Name | Description |
|---|---|
| string | null-terminated string to trim |
| length | length of string; updated to the trimmed length |