Search the first occurence in the array