From: "rob s." Date: 2011-02-24T07:47:36+09:00 Subject: Re: finding a tag in a binary file thanks for the replies looks like I don't have contents = File.binread('1DICOMDIR').bytes.to_a undefined method `binread' for File:Class I have ruby 1.8.7 I'll have a play with the code you suggested tomorrow. -- Posted via http://www.ruby-forum.com/.