PHP マニュアル
前のページ |  | 次のページ

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

前のページ | ホーム | 次のページ
DOMCharacterData->appendData | 上に戻る | DOMCharacterData->insertData