Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

substringData method

Extracts a range of characters from the object.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4



BSTR retVal = object.substringData(offset, Count);


offset [in]

Type: long

long that specifies the offset from which to start.

Count [in]

Type: long

long that specifies the number of characters to extract.

Standards information


IHTMLCommentElement2::substringData was introduced in Microsoft Internet Explorer 6

If the sum of the offset and Count parameters exceeds the number of characters in the object, then an error is returned.



Community Additions

© 2015 Microsoft