in reply to Re^2: Collapsing a string to unique characters
in thread Collapsing a string to unique characters
No good. Hash keys are unordered.So? The OP didn't make it a requirement the result was ordered:
I have a number of strings, made up only of 64 characters: a-zA-Z0-9/+ . I need to collapse these down to just the unique characters in the string.
Besides, Perlmonks has a long tradition of making small changes to the requirements for the sake of winning at golf. ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Collapsing a string to unique characters
by ikegami (Patriarch) on Jan 10, 2009 at 17:32 UTC | |
by dwhite20899 (Friar) on Jan 11, 2009 at 00:47 UTC |