Syntax:
#include <string> iterator insert( iterator i, Char ch ); string& insert( size_type index, const string& str ); string& insert( size_type index, const Char* str ); string& insert( size_type index1, const string& str, size_type index2, size_type num ); string& insert( size_type index, const Char* str, size_type num ); string& insert( size_type index, size_type num, Char ch ); void insert( iterator i, size_type num, Char ch ); void insert( iterator i, input_iterator start, input_iterator end );
The very multi-purpose insert() function either: