Arbortext Command Language > Functions by Alphabetical Listing > oid_split_tag
  
oid_split_tag
newoid = oid_split_tag([flags[, oid[, pos]]])
This function divides the element based on the location specified by oid and pos.
flags — Optional. Sets options for the split operation. A value of one (1) specifies that all non-default attributes on the original element be duplicated on the newly created element. ID attributes (which should be unique across a document) are not duplicated. A value of zero (0) ensures that no attributes are duplicated on the newly created element. If the flags parameter is not specified, a value of 0 is assumed.
oid — Optional. The oid of the element to split. If oid is omitted, the function uses oid_caret.
pos — Optional. The character position at which to split. If pos is omitted, a value of 0 is assumed.
The split command is equivalent to calling the oid_split_tag function with no parameters. The EditSplit alias (used by the UI) is equivalent to calling oid_split_tag with a flags parameter of 1.
Related Topics
split command