Windows Dev Center

Expand Minimize

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

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

 

 

Show:
© 2015 Microsoft