How to get the duplicate values from array
Hi all can someone please let me know how to get the duplicate value from array. I do have one variable which will store the list of values in array. I need to get only the duplicate values and store the duplicate value in another variable