From: "F. Senault" Date: 2007-07-19T21:05:09+09:00 Subject: Re: identify and extract positions from a string - how to? Le 19 juillet � 13:54, Thomas Worm a �crit : > Those ..-things are called ranges, which, what wonder, are a class in > ruby. Have a look at http://corelib.rubyonrails.org/ for the class Range. > > another way to express str[45..78] is str[45,78] Nope : >> str[45..78].length => 34 >> str[45,78].length => 78 (IOW start_position..end_position versus start_position,length.) Fred -- I feel it move across my skin. I'm reaching up and reaching out, I'm reaching for the random or what ever will bewilder me. And following our will and wind we may just go where no one's been. We'll ride the spiral to the end and may just go where no one's been. (Tool, Lateralus)