in reply to Re: Find duplicate chars in a stringin thread Find duplicate chars in a string
## ITYM scalar grep $dups{$_}++, split //; [download]