Rope.split

Split the rope, creating a new root node that connects the left and right side of the split.

This functions never returns leaf nodes, but either side of the node may be empty.

struct Rope
const nothrow
split
(
size_t index
)
out (r; !r.node.isLeaf)

Meta