From: Robert Klemme Date: 2011-07-28T22:28:19+09:00 Subject: Re: String manuplation example On Wed, Jul 27, 2011 at 5:33 PM, kotin 76 wrote: > Hi All thanks for your quick replys. I got solution. I think nobody suggested String#[] so far. You can do device = str[%r{/dev/sd\S+}] Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/