Remove all trailing 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.
string
Declared in <bdlb_string.h>
<bdlb_string.h>
static void rtrim(std::string* string);