[#bsl-basic_string-0faf-resize-01] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string]::resize :relfileprefix: ../../ :mrdocs: Change the length of this string. == Synopses Declared in `<bslstl_string.h>` Change the length of this string. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/basic_string-0faf/resize-09.adoc[resize](xref:bsl/basic_string-0faf/size_type.adoc[size_type] newLength); ---- [.small]#xref:bsl/basic_string-0faf/resize-09.adoc[_» more..._]# Change the length of this string. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/basic_string-0faf/resize-08.adoc[resize]( xref:bsl/basic_string-0faf/size_type.adoc[size_type] newLength, CHAR_TYPE character); ---- [.small]#xref:bsl/basic_string-0faf/resize-08.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *newLength* | new length of this string | *character* | character value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#