in reply to deleting characters from a string but the characters are in a variable

You don't need to use eval/tr, just use s///
  • Comment on Re: deleting characters from a string but the characters are in a variable