[#bsl-basic_string-0faf-append-05]
= xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic&lowbar;string]::append
:relfileprefix: ../../
:mrdocs:

Append the specified `numChars` copies of the specified `character` to this string, and return a reference providing modifiable access to this string&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_string-0faf.adoc[basic&lowbar;string]&
append(
    xref:bsl/basic_string-0faf/size_type.adoc[size&lowbar;type] numChars,
    CHAR&lowbar;TYPE character);
----

== Return Value

reference providing modifiable access to this string

== Parameters

[cols="1,4"]
|===
| Name| Description
| *numChars*
| number of characters
| *character*
| character value
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
