> I'm not really sure what you're up to. Can you elaborate? I'd like the output of process_transaction as a long string. But I don't completely understand the post from Kevin: > output = "" > ... > output << line_of_file..... > ... > return output where does this go? If the method works I would like to apply it to each line of transactions array and output the result to a new file. here's the latest version of the script: http://rafb.net/paste/results/D632e199.html -- Posted via http://www.ruby-forum.com/.