From: Ben Aroia Date: 2008-02-28T07:35:39+09:00 Subject: Re: extracting hex keys from file > PS: there's also String#unpack. That proved very useful. Thanks. I meant that the hex string I was gunning for was, say 110 bytes into the file, and I wanted everything between 110 and 200 to be read in in hex. I meant I'd do something like f = File.open("name","r") for i in 0..109 do f.getc end to bump the pointer forward 110 bytes. -- Posted via http://www.ruby-forum.com/.