PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DOMCharacterData::substringData> <DOMCharacterData::insertData
Last updated: Fri, 05 Sep 2008

view this page in

DOMCharacterData::replaceData

(No version information available, might be only in CVS)

DOMCharacterData::replaceData DOMCharacterData ノードの文字列の一部を置換する

説明

void DOMCharacterData::replaceData ( int $offset , int $count , string $data )

位置 offset から count 文字ぶんのデータを、data に置換します。

パラメータ

offset

置換開始位置のオフセット。

count

置換する文字の数。 offsetcount の和が文字列の長さをこえている場合、データ末尾までのすべての データが置換されます。

data

置換する文字列。

返り値

値を返しません。

エラー / 例外

DOM_INDEX_SIZE_ERR

offset が負、あるいは 16 ビット単位の データ長より大きい場合、または count が 負の場合に発生します。



add a note add a note User Contributed Notes
DOMCharacterData::replaceData
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites