The list contain 4 items
I want to find the repeated item in the list (25 is repeated two times) with index number
here is your solution.
Correct me if I’m wrong but this removes the duplicates. Doesn’t find them. If that’s what the OP wanted, then he described it wrong. To find the duplicates you might have to tweak your procedure to do almost the opposite.
Good solution to filter duplicates!
Thank you @ImranTariq
Yes you are right, but i think user wanted a list without duplicates, if he wants to find duplicates he needs to put that item (which is duplicate) in a another list. similar just needs a little change,
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.