I have two arrays...I want to find the common element in the array.I want to find the unique values in array1 and unique values in array2.... Example:
Array1:"red,blue,green,violet"
Array2:"yellow,orange,violet,blue
Now i want to know how will i retrive
uniq_Arr1=>red,green
uniq_Arr2=>yellow,orange
common_Arr=>violet,blue
That is,From each array it sholud retrive the unique elements and the common elements... Please guide me to know this...