go
Expand Minimize
This topic has not yet been rated - Rate this topic

substringData method

Extracts a range of characters from the object.

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

Syntax

object.substringData(offset, Count)

Parameters

offset [in]

Type: Integer

Integer that specifies the offset from which to start.

Count [in]

Type: Integer

Integer that specifies the number of characters to extract.

Return value

Type: String

Returns a reference to the substring.

Standards information

Remarks

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.

See also

comment
TextNode

 

 

Send comments about this topic to Microsoft

Build date: 11/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.