public static boolean isStringIn(String text, String[] list)
	{
		if (text == null)
			return false;

		for (int i = 0; i < list.length; i++)
		{
			if (text.equals(list[i]))
				return true;
		}

		return false;
	}
public static boolean isStringIn ( String text , String [ ] list ) { if ( text == null ) return false ; for ( int i = 0 ; i < list . length ; i ++ ) { if ( text . equals ( list [ i ] ) ) return true ; } return false ; }
@param text
the text to search for
@param list
the list of strings
@return true if aText in aList