in reply to Re: Collapsing a string to unique characters
in thread Collapsing a string to unique characters

Anywhere, any version: 32

-ple$_=join'',sort/./g;tr/!-~//s

Replies are listed 'Best First'.
Re^3: Collapsing a string to unique characters
by jwkrahn (Abbot) on Jan 10, 2009 at 09:58 UTC
Re^3: Collapsing a string to unique characters
by JavaFan (Canon) on Jan 09, 2009 at 22:02 UTC
    Anywhere
    Nope, it'll fail on an EBCDIC platform as the ~ is somewhere between the 'r' and the 's'.