in reply to Help with Substitution

I have a related question, would this case where you are only seem to be dealing with strings, would multiple tr 's be more efficient(more code & less cpu)?
-malloc

Replies are listed 'Best First'.
Re: Re: Help with Substitution
by Sifmole (Chaplain) on Jun 28, 2001 at 20:42 UTC
    tr/// would not work in this case, because the questioner is not replacing char for char. He is replacing a pattern with a different pattern.