org.w3c.dom.CharacterData.insertData
method
public insertData(offset as Int, arg as String) as Void throws DOMException
Description

Inserts text at the given offset.

Parameters
ParameterDescription
offsetInsert offset.
argText to insert.
Throws
  • DOMException if the offset is invalid.
Example
text.insertData(0, "prefix ")