in reply to Re: Golf: Replacing part of a string with "*" (lvalue substr)
in thread Golf: Replacing part of a string with "*"

I like this solution a lot as well, both for clarity and because it maintains the flexibility of the original code demonstrated in the update to my original post. Very elegant.

---
It's all fine and dandy until someone has to look at the code.
  • Comment on Re^2: Golf: Replacing part of a string with "*" (lvalue substr)