From: Adam Akhtar Date: 2009-04-16T07:29:28+09:00 Subject: Re: reformatting a text file that has some binary in it Ahh i didnt know you could use scan like that with blocks and variables...thats going to come in very handy indeed. Ill give that a go - many thanks James! -- Posted via http://www.ruby-forum.com/.