DOMCharacterData::substringData
(No version information available, might be only in CVS)
DOMCharacterData::substringData — ノードから指定した範囲のデータを抽出する
説明
string DOMCharacterData::substringData
( int $offset
, int $count
)
指定した部分文字列を返します。
パラメータ
- offset
-
部分文字列の抽出開始位置のオフセット。
- count
-
抽出する文字数。
返り値
指定された部分文字列を返します。 offset と count の和が文字列の長さをこえている場合、データの末尾までのすべての 16 ビット単位が返されます。
エラー / 例外
- DOM_INDEX_SIZE_ERR
-
offset が負、あるいは 16 ビット単位の データ長より大きい場合、または count が 負の場合に発生します。
DOMCharacterData::substringData
There are no user contributed notes for this page.
