PHP Handbuch
Zurück |  | Nach vorne

# 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.

Zurück | Zum Anfang | Nach vorne
DOMCharacterData->appendData | Nach oben | DOMCharacterData->insertData