DOMComment.SplitText

Syntax:

SplitText(<Offset>)

Parameters:

<Offset> (required)

Type: Number.
An offset relative to the character data start.

Returned value:

Type: DOMText.

Description:

Split text node. This node stores character data before offset, a new node will contain character data after offset. The new node is added to the parent of this node as a child node following this node.

Availability:

Server, thick client, external connection, Mobile application (server).

Note:

Exception reasons:
  • Offset is greater than the character data size;
  • This node is read-only.

    

1C:Enterprise Developer's Community