From: Dave Thomas Date: 2002-06-01T23:55:12+09:00 Subject: Re: Reading binary files (or strings) Han Holl writes: > > string.unpack("@#{offset}format") > > > > Yes! That's exactly what I need. Thanks. > This was neither in the online Ruby book, nor in the String.html in the > official docs. Umm.. it's the last entry in the table (http://www.rubycentral.com/book/ref_c_string.html#String.unpack) : : : : | @ | Skip to the offset given by the length argument. | | : : : : Regards Dave