HBCMS更多的中文手册参考:

substringData Method

DHTML文档教程

Extracts a range of characters from the object.

dhtml语法

sSubstring = object.substringData(nOffset, nCount)

Parameters

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

Return Value

Returns燼 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.

是否符合公共标准

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

Applies To

COMMENT, TextNode