I have two arrays
array1 = ["ab", "xyz", "qr", "pqrs"]
array2 = ["ab", "def", "lmno", "def", "qr", "pqrs"]
how to compare these two arrays and get a third array of the element from first array which is not found in second array.
Desired result:
unique = ["xyz"]
Thanks in advance