Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

substringData Method


Extracts a range of characters from the object.

Syntax

sSubstring = object.substringData(nOffset, nCount)

Parameters

nOffset Required. Integer that specifies the offset from which to start.
nCount Required. Integer that specifies the number of characters to extract.

Return Value

Returns a reference to the substring.

Remarks

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

Standards Information

method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

COMMENT, TextNode

     Loans | Mortgage Calculator | Advertising | Mortgages | Swarovski
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp