IDLffXMLDOMText::SplitText

The IDLffXMLDOMText::SplitText function method breaks a text node into two nodes, splitting the text at the specified offset. Both nodes are kept in the same tree as siblings. The method both modifies its caller and creates an instance of a new IDLffXMLDOMText object, which contains the text following the offset point. When the offset is equal to the length of the string, the new node has no value data.

Syntax

Result = Obj->[IDLffXMLDOMText::]SplitText( Offset )

Return Value

Returns an object reference to the new IDLffXMLDOMText object.

Arguments

Offset

An integer containing the offset into the string at which to split it.

Keywords

None

Version History

6.1

Introduced