From: Leonard Chin Date: 2007-06-01T22:10:51+09:00 Subject: Re: Getting the last N bytes of a string: On 6/1/07, Harry Kakueki wrote: > str =~ /(.{1,10}$)/ This works nicely if you do this: str[/(.{1,10}$)/] Though I guess it depends on what you consider "simple".