splitText(offset )
|
|
Parameters
|
unsigned longoffset
The 16-bit unit offset at which to split, starting from 0.
|
Returns
|
Text. The new node, of the same type as this node.
|
Throws
|
DOMException
INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of 16-bit units in data.
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
|