public insertText(value as String) as Boolean:
Inserts text at the caret position or replaces the current selection.
field.insertText("abc")