in reply to Re: How to make this substitutions without splitting the strings?
in thread How to make this substitutions without splitting the strings?

Remember to process the strings backwards so the 'erase' does not change the position of characters yet to be processed.
Bill
  • Comment on Re^2: How to make this substitutions without splitting the strings?

Replies are listed 'Best First'.
Re^3: How to make this substitutions without splitting the strings?
by Anonymous Monk on Jul 28, 2014 at 13:45 UTC

    Note this only applies if you don't follow the parent's recommendation of generating new strings.