[#bsl-basic_string-01d-append-05] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-01d.adoc[basic_string<char8_t>]::append :relfileprefix: ../../ :mrdocs: Append to this string the optionally specified `numChars` characters starting at the specified `position` in the `bsl::string_view` object, obtained from the specified `suffix`, or its tail starting at `position` if `numChars` exceeds the length of this tail. If `numChars` is not specified, `npos` is used. Return a reference providing modifiable access to this string. Throw `out_of_range` if `position > strView.length()`. Throw `length_error` if the length of the resulting string exceeds `max_size()`. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_VIEW_LIKE_TYPE> xref:bsl/basic_string-0faf.adoc[basic_string<char8_t>]& append( STRING_VIEW_LIKE_TYPE const& suffix, xref:bsl/basic_string-01d/size_type.adoc[size_type] position, xref:bsl/basic_string-01d/size_type.adoc[size_type] numChars = npos); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#