substr ($str, -1, 1, ''); [download]
In reply to Re: Make things a *little* easier by John M. Dlugosz in thread a farewell to chop by John M. Dlugosz