Building the hash programmatically would be an interesting brain teaser.
Update: This was assuming string lengths of up to 5.
If the code and the comments disagree, then both are probably wrong. -- Norm Schryer
In reply to Re: Re: Sorting characters within a string
by jlongino
in thread Sorting characters within a string
by robsv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |