Search DaTutorials:  
HOME
Php Tutorials
Articles
Basics
Date and Time
File Manipulations
Forms
Functions
General
Interactivity
MySql
Navigation
News,Shoutboxes and Blogs
Language Structure and Data Types
Searching
Security
String Manipulation
User Information and Stats
Search For a Tutorial
Php Reference

DOMCharacterData->replaceData

(no version information, might be only in CVS)

DOMCharacterData->replaceData --  Replace a substring within the DOMCharacterData node.

Description

void DOMCharacterData->replaceData ( int offset, int count, string data)

Replace count characters starting from position offset with data. If the sum of offset and count exceeds the length, then all characters to the end of the data are replaced.

Throws DOMExcpetion if offset is negative or greater than the number of characters in data, or if count is negative.



Copyright © 2001-2004 The PHP Group
All rights reserved.

     Electricity | Car Credit | Remortgage | Cheap Magazine Subscriptions | Personal Loan
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp