From: Thomas Worm Date: 2007-07-19T19:55:06+09:00 Subject: Re: identify and extract positions from a string - how to? On Thu, 19 Jul 2007 19:31:12 +0900, Marc Hoeppner wrote: > Hi, > > I am not quite sure about how to approach the following problem: > > I have a long (long long long) string of letters, a genomic sequence > (600k characters+). > Now, what I want to do is to extract certain parts of this string, based > on the position. > So for example lets say I want all characters from position 2340 to > 5436. What about puts "My String"[5..7] Thomas