insert_string (Function)
insert_string (string[, dest])
This function inserts the string value of the expression string into the destination specified by dest, which is either a document identifier or a window name. The window can be one of the window types returned by the window function. (For example, edit or cmd.)
string specifies the text to be inserted at the cursor location. No markup is recognized in the string; the characters are inserted as-is. If dest is omitted, the current document is used.
This function is similar to the
insert_string command, except its
string argument may be an expression and it is not limited in size.
Unlike the
insert function,
insert_string obeys the setting of the
set pendingdelete option.