in reply to how to extract data from an array using a condition
The grep() function extracts data from an array using a condition.
-- Ken