SplitText (NotesDOMTextNode - LotusScript®)

Breaks this node into two nodes at the specified offset, keeping both in the tree as siblings.

Defined in

NotesDOMTextNode

Syntax

Set notesDOMTextNode = notesDOMTextNode .SplitText( offset )

Parameters

offset

Long. Read-only. The offset at which to split, starting from 0. When the offset is equal to the length of this node, the new node has no data.

Return value

notesDOMTextNode

The text node containing all the content at and after the offset point.

Usage

After being split, this node contains all the content up to the offset point.