Cut method: Node class
Syntax
Cut()
Description
The Cut method cuts the node executing the method and puts it into a buffer (the clipboard). You can then use the PasteSib method to add the node back as a sibling of a different node. You can also use the PasteChild node method to add the node back as a child of a different node.
You can have only one object at a time on the clipboard. If you cut another leaf or node, the node on the clipboard is overwritten.
Parameters
None.
Returns
A number; 0 if method is successful.