rtrim overloads
Declared in <bdlb_string.h>
Remove trailing whitespace characters from string.
static
void
rtrim(char* string);
» more...
Remove trailing whitespace characters from string.
static
void
rtrim(bsl::string* string);
» more...
Remove trailing whitespace characters from string.
static
void
rtrim(std::pmr::string* string);
» more...
Remove trailing whitespace characters from string.
static
void
rtrim(std::string* string);
» more...
Compute the length of string after removing trailing whitespace.
static
void
rtrim(
char const* string,
int* length);
» more...
| Name | Description |
|---|---|
| string | null-terminated string to trim |
| length | length of string; updated to the trimmed length |