64. overwriteString

Parameter syntax:

string

Replaces characters found at caret position by specified string.

Example: a text node contains "Hello world!" and the caret is before the "w" of "world". "overwriteString 'beautiful world!'", replaces "world!" by "beauti" and then inserts "ful world!" at the end of the text node.