Implement String.chop/chop!