in reply to Re^2: convert last digit in decimal
in thread convert last digit in decimal

You could also chop and save the last character if you know that the format is always going to be the same. That's a bit simpler than a regex, but it presumes you know the format is constant.

Replies are listed 'Best First'.
Re^4: convert last digit in decimal
by baperl (Sexton) on Aug 10, 2011 at 22:13 UTC
    that's what I did :-)