ECMAScript binding: splitText(offset) (returns Text; offset is a Number; can raise DOMException)
This node is split in two at offset. The text beyond this point forms the next sibling of this node in the tree. This node is truncated.
Returns the new node created (which will be a Text node or, in some later DOM, an extension of a Text node).
The exceptions thrown are:
- offset is negative or exceeds this.length.
- The node is read only.