On Mon, 15 Oct 2007, Gabor Grothendieck wrote: > Here is an alternative: > > sub(".*(..)$", "\\1", x) > For sufficiently small values of 3 ;) -thomas Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle