in reply to Re: Remove repeated characters from a string
in thread Remove repeated characters from a string

Don't know if you wrote this before or after the clarification; but this removes all but the last, where it seems all but the first is the desired behavior.
  • Comment on Re:^2 Remove repeated characters from a string

Replies are listed 'Best First'.
Re:^3 Remove repeated characters from a string
by BrowserUk (Patriarch) on May 13, 2004 at 16:44 UTC

    Your right, I missed the clarification. I guess you could do a scalar reverse before and after, but that kinda takes the shine off the solution.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail