can you compare two arrays to see if there are equal elements?
for example:
in an array I have
"AAAAA","BBBBB","CCCCC"
"AAAAA","BBBBB","CCCCC"
"BBBBB","BBBBB","BBBBBB"
on another I have
"AAAAA","BBBBB","CCCCC"
"AAAAA","BBBBB","CCCCC"
"AAAAA","BBBBB","CCCCC"
is there a function that lets you know that the line "AAAAA", "BBBBB", "CCCCC" is present in the other array?
I need this operation because at the time the beach structure is built, the program automatically recognizes the areas where the umbrellas are located and creates a base rate: it could happen that the operator has already entered some tariffs for the same sector or has entered some tariffs for a sector that in the modification structure does not exist or there is no given element
the user could cancel all the tariffs and insert new ones from scratch or the procedure could make a check and see if there are records that have some equal fields
IDLISTINO | IDELEMENTO | FIELD | DAYS
for a sample
on up there is a new array calculated
down there is the array with oldest tariffs
the check must be made by idlistino,idelemento, giorni,idsettore
How I can resolve it ?