in reply to Re: Re: Re: Sorting characters within a string
in thread Sorting characters within a string

Guillaume,

I think one of the assumptions (although not clearly stated) is that no string has repeated characters in it.

Very inventive code though!

Update: Maybe a regexp to eliminate any string with duplicate letters. As though things weren't bad enough :)

If the code and the comments disagree, then both are probably wrong. -- Norm Schryer

  • Comment on Re: Re: Re: Re: Sorting characters within a string