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

# DOMCharacterData->replaceData

(no version information, might be only in CVS)

DOMCharacterData->replaceData -- Replace a substring within the DOMCharacterData node

## 説明

void DOMCharacterData->replaceData ( int offset, int count, string data)

Replace count characters starting from position offset with data. If the sum of offset and count exceeds the length, then all characters to the end of the data are replaced.

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

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