Search for a string in array

Hello all,

I have a multidimensional array holding the content of an xml file (several news iems).

archiveArray[0][0] contains the first news’s title

archiveArray[0][1] contains the first news’s date

archiveArray[0][2] contains the first news’s html content

archiveArray[1][0] contains the second news’s title

archiveArray[1][1] contains the second news’s date

archiveArray[1][2] contains the second news’s html content

I would like to implement a search functionality that enables searching the array in titles and html content for a given keyword, and returns all instances of the keyword found in the array, with the surrounding words ( a la google).

I didn’t find anything related to searching an array in the flash manual. Does anyone have a good clue on how to do it?

thanks in advance for your help!

alexandre