From: Mark Thomas Date: 2008-08-20T22:51:41+09:00 Subject: Re: Cut a string if length > n How about: s[0..70].gsub(/\s?\S*$/,'')