Change the length of this string to the specified newLength, erasing characters at the end if newLength < length() or appending the appropriate number of copies of CHAR_TYPE() at the end if length() < newLength.

Synopsis

Declared in <bslstl_string.h>

void
resize(size_type newLength);

Created with MrDocs