Share via


substringData Method

Retrieves a substring of the full string from the specified range.

strValue = oXMLDOMCharacterData.substringData(offset, count);

HRESULT substringData(
  long  offset,
  long  count,
  BSTR* data
);

General Remarks

If the offset and count parameters indicate a range beyond the end of the string, the returned substring continues only until the end of the string data.

This method applies to the following objects and interfaces:

IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, and IXMLDOMText.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.