public splitText(offset as Int) as Text throws DOMException
Splits this text node at the given offset.
New text node containing the trailing content.
second = text.splitText(3)