Remove trailing whitespace characters from string.
Declared in <bdlb_string.h>
static
void
rtrim(std::string* string);
If string consists of only whitespace then it will be empty (i.e., have 0 length) after this operation.
| Name | Description |
|---|---|
| string | string to trim |