[#bsl-basic_string-0faf-insert-094] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string]::insert :relfileprefix: ../../ :mrdocs: Insert at the specified `position` in this string the characters in the range starting at the specified `first` iterator and ending right before the specified `last` iterator of the (template parameter) type `INPUT_ITER`, and return an iterator providing modifiable access to the first inserted character, or a non‐`const` copy of `position` if `first == last`. The behavior is undefined unless `position` is a valid iterator on this string, and `first` and `last` refer to a sequence of valid values where `first` is at a position at or before `last`. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class INPUT_ITER> xref:bsl/basic_string-0faf/iterator.adoc[iterator] insert( xref:bsl/basic_string-0faf/const_iterator.adoc[const_iterator] position, INPUT_ITER first, INPUT_ITER last); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#