Replace the specified number of characters starting at the specified offset with the specified string.

[VBScript]
Public Sub ReplaceData( _
   ByVal offset As Integer, _
   ByVal count As Integer, _
   ByVal data As  String _
)
[JScript]
public function ReplaceData(
   offset : int,
   count : int,
   data : String
);

Parameters

offset
The position within the string to start replacing.
count
The number of characters to replace.
data
The new data that replaces the old string data.

See Also

CharacterData Object | CharacterData Members | DOM Namespace