| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Built-in Template Procedures >====== EXTRACT (return attribute) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[call call a group as a function .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[exists return embed point existence .htm|{{btn_next_n.gif|Next page}}]] | | || **EXTRACT(** //string, attribute //[, //parameter// ] ) {{blk2blue.jpg|blk2blue.jpg}} | **EXTRACT** | Returns the complete form of the specified //attribute// from the property //string// symbol. | | //string// | The symbol containing the properties to parse. | | //attribute// | A string constant or symbol containing the name of the property to return. | | //parameter// | An integer constant or symbol containing the number of the property's parameter to return. Zero (0) returns the entire parameter list (without the //attribute//). If omitted, the //attribute// and all its //parameters// are returned. | The **EXTRACT** procedure returns either the complete form of the specified //attribute// from the attribute //string// symbol, or just the specified //parameter//. This is useful if no built-in symbol exists for the particular attribute you need. **Return Data Type:**     STRING **Example:** **#SET(%MySymbol,****EXTRACT****(%ControlStatement,'DROPID'))   #!Return DROPID attribute** **#SET(%MySymbol,****EXTRACT****(%ControlStatement,'DROPID',0)) #!Return all DROPID parameters** **See Also:**     [[replace replace attribute .htm|REPLACE]] [[built in template procedures.htm|Built-In Template Procedures]]