Implement Text.prototype.splitText