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

search for in the

DOMCharacterData::insertData> <DOMCharacterData::appendData
Last updated: Fri, 10 Oct 2008

view this page in

DOMCharacterData::deleteData

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

DOMCharacterData::deleteData 指定した範囲の文字列をノードから削除する

説明

void DOMCharacterData::deleteData ( int $offset , int $count )

offset で指定した位置から count 文字ぶんの文字を削除します。

パラメータ

offset

削除開始位置のオフセット。

count

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

返り値

値を返しません。

エラー / 例外

DOM_INDEX_SIZE_ERR

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



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

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