DOMCharacterData::insertData

(PHP 5, PHP 7)
Insert a string at the specified 16-bit unit offset
void DOMCharacterData::insertData ( int $offset, string $data )

Inserts string data at position offset.

Parameters:
offset

The character offset at which to insert.

data

The string to insert.

Returns:

No value is returned.

Exception:

Raised if offset is negative or greater than the number of 16-bit units in data.

See also:

DOMCharacterData::appendData() -

DOMCharacterData::deleteData() -

DOMCharacterData::replaceData() -

DOMCharacterData::substringData() -

doc_php
2016-02-24 16:14:35
Comments
Leave a Comment

Please login to continue.