Append repeatedly to the specified string the optionally specified padChar until string has the specified length.
string
padChar
length
Declared in <bdlb_string.h>
<bdlb_string.h>
static void pad( std::string* string, int length, char padChar = ' ');