Macro Reference — Selection Object — DestructiveInsert Method (Selection Object)

# DestructiveInsert Method (Selection Object)

Inserts text, overwriting the existing text.

##

### [JavaScript]

    document.selection.DestructiveInsert( str );

### [VBScript]

    document.selection.DestructiveInsert str

## Parameters

str

Specifies a string to insert, overwriting the existing text.

## Version

Supported on EmEditor Professional Version 4.00 or later.