roger....that class is clever and it works great - thanks! Joe -- Posted via http://www.ruby-forum.com/.