BloombergLP::bdlb::String::rtrim

Remove trailing whitespace characters from string.

Synopsis

Declared in <bdlb_string.h>

static
void
rtrim(std::string* string);

Description

If string consists of only whitespace then it will be empty (i.e., have 0 length) after this operation.

Parameters

NameDescription
stringstring to trim