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

search for in the

DOMComment> <DOMCharacterData
Last updated: Fri, 15 Aug 2008

view this page in

DOMCharacterData::substringData

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

DOMCharacterData::substringData ノードから指定した範囲のデータを抽出する

説明

string DOMCharacterData::substringData ( int $offset , int $count )

指定した部分文字列を返します。

パラメータ

offset

部分文字列の抽出開始位置のオフセット。

count

抽出する文字数。

返り値

指定された部分文字列を返します。 offsetcount の和が文字列の長さをこえている場合、データの末尾までのすべての 16 ビット単位が返されます。

エラー / 例外

DOM_INDEX_SIZE_ERR

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



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

DOMComment> <DOMCharacterData
Last updated: Fri, 15 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites