Manuel PHP
Précédent |  | Suivant

# DOMCharacterData->deleteData

(no version information, might be only in CVS)

DOMCharacterData->deleteData -- Remove a range of characters from the node.

## Description

void DOMCharacterData->deleteData ( int offset, int count)

Deletes `count` characters starting from position `offset`. If the sum of `offset` and `count` exceeds the length, then all characters to the end of the data are deleted.

Throws DOMExcpetion if `offset` is negative or greater than the number of characters in data, or if `count` is negative.

Précédent | Sommaire | Suivant
DOMCharacterData->appendData | Niveau supérieur | DOMCharacterData->insertData