How to check an item in string array in java?

 hi i want to check an item in string array for first time only means if next time the same string is enterd to search then i want to display some notification in java. Means only one time the user to allow to search for one string. 
How can i do this ?


Can any one help me..

thanks in advance

 regards
 shiva
How to check an item in string array in java?
===


 hi i want to check an item in string array for first time only means if next time the same string is enterd to search then i want to display some notification in java. Means only one time the user to allow to search for one string. 
How can i do this ?


Can any one help me..

thanks in advance

 regards
 shiva