Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

SubstringData() Syntax, Parameters and Note

Note: Returns a string from the text object.      Syntax:      textNodeName.subStringData(param1, param2) // IE only document.getElementById("commentID").subStringData(param1, param2) document.all.commentID.subStringData(param1, param2) // IE only Parameters:     param1   Required; start index.     param2   Required; the length of the subset string.