in reply to Re: how to chop last character from a string
in thread how to chop last character from a string

Rather than chopping twice a safer way would be to chomp first then chop.

But, I like the regex solutions better than chopping

Mike

  • Comment on Re^2: how to chop last character from a string