in reply to Searching strings within an array for a particular word.

Well, the grep part is usually done with eg, grep name[d] so that it doesn't match itself.

  p