rtrim overloads
Synopses
Declared in <bdlb_string.h>
Remove trailing whitespace characters from string.
static
void
rtrim(char* string);
Remove trailing whitespace characters from string.
static
void
rtrim(bsl::string* string);
Remove trailing whitespace characters from string.
static
void
rtrim(std::pmr::string* string);
Remove trailing whitespace characters from string.
static
void
rtrim(std::string* string);
Compute the length of string after removing trailing whitespace.
static
void
rtrim(
char const* string,
int* length);
Parameters
Name |
Description |
string |
null‐terminated string to trim |
length |
length of |
Created with MrDocs