in reply to How to remove duplicate characters in a string in place

Sorry if i cannot make use s/// but unique/duplicate call for hashes in my mind
# warning win32 doublequote perl -e "print grep {$res{$_}==1} map {++$res{$_};$_} split '',$ARGV[0 +]" abcdefghiaabccdjklm efghijklm
PS sorry if i've not seen this is identical in the approach to the toolic's one

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.