From: georgesawyer Date: 2005-01-08T03:26:33+09:00 Subject: Re: what's the Ruby way to do this? >>match(/([^\s]+(\s+|$)){0,10}/)[0]+($'>""?"...":"") This is a good way, seriously, for a Perl programmer moving to Ruby to maintain job security. Ruby is using the tactic, "embrace and extend."