How to Find Duplicate value in string array

@Dave and @J0ska Any suggestion on this topic .

Continuing the discussion from Basic Knowledge: