perl -nlE"say 0+s/(.)(?!.*\1)//g" [download]
- tye
In reply to Re^2: Golf for unique digits (17) by tye in thread Golf for unique digits by Cody Fendant