replaceData method

void replaceData(
  1. int offset,
  2. int count,
  3. String data
)

The replaceData() method of the CharacterData interface removes a certain number of characters of the existing text in a given CharacterData node and replaces those characters with the text provided.

Implementation

external void replaceData(
  int offset,
  int count,
  String data,
);