PHP Manual
DOMCharacterData->replaceData()
(no version information, might be only in CVS)
DOMCharacterData->replaceData() -- Replace a substring within the DOMCharacterData nodeDescription
class DOMCharacterData {void replaceData ( int offset, int count, string data )
}
Replace count characters starting from position
offset with data.
Parameters
offsetThe offset from which to start replacing.
countThe number of characters to replace. If the sum of
offsetandcountexceeds the length, then all characters to the end of the data are replaced.dataThe string with which the range must be replaced.
Errors/Exceptions
- DOM_INDEX_SIZE_ERR
Raised if
offsetis negative or greater than the number of 16-bit units in data, or ifcountis negative.
RSS Feed
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.






