downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<DOMCharacterData::appendDataDOMCharacterData::insertData>
Last updated: Thu, 26 Jun 2008

DOMCharacterData::deleteData

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

DOMCharacterData::deleteData — Remove a range of characters from the node

Description

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

Deletes count characters starting from position offset .

Parameters

offset

The offset from which to start removing.

count

The number of characters to delete. If the sum of offset and count exceeds the length, then all characters to the end of the data are deleted.

Return Values

No value is returned.

Errors/Exceptions

DOM_INDEX_SIZE_ERR

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



add a noteadd a note User Contributed Notes
Remove a range of characters from the node
There are no user contributed notes for this page.




<DOMCharacterData::appendDataDOMCharacterData::insertData>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs