ECMAScript binding: replaceData(offset, count, arg) (offset and count are Numbers; arg is a String; can raise DOMException)
count character units, starting offset character units from the start of the string (i.e. zero-based), are deleted. arg is then inserted into the string at offset.
NOTE: This is how I understand the W3C specification. Other interpretations could affect all the above *Data methods. I've not yet written any code that uses this, so I don't know whether I'm right or not. Please /msg me if you know!
Exceptions:
- INDEX_SIZE_ERR
- offset is negative or greater than this.length.
- NO_MODIFICATION_ALLOWED_ERR
- This node is read only.