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

Replaces a range of text.

Parameters
ParameterDescription
offsetStart offset.
countNumber of characters to replace.
argReplacement text.
Throws
  • DOMException if the range is invalid.
Example
text.replaceData(0, 4, "Klyn")