CharacterData

Example

1

Description

Properties

Property Name Description
data character data of a Text, Comment or CDATASection node, or the data in a ProcessingInstruction node
length length of this object's data

Methods

Method Name Description Values
deleteData() Removes the specified range of characters.
insertData() Inserts the String at the given offset.
replaceData() Replaces the specified range of data with the given string.
substringData() Returns the substring with the given range.