[#bsl-basic_string-0fb-append-090] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0fb.adoc[basic_string<char>]::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<char>]& append( STRING_VIEW_LIKE_TYPE const& suffix, xref:bsl/basic_string-0fb/size_type.adoc[size_type] position, xref:bsl/basic_string-0fb/size_type.adoc[size_type] numChars = npos); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#