Arbortext Command Language > Functions by Alphabetical Listing > entity_name
  
entity_name
entity_name (oid)
 
If oid is an object within a text or file entity, this function returns the name of the entity (for example, chap1). Returns the null string if oid is not contained within an entity, but is in a top-level document tree.