On Mon, 04 Mar 2002 10:27:18 GMT, Javier Fontan <jfontan / cesga.es> wrote: >tmp=[] >string.each_byte { |byte| tmp.push(byte.chr) } > >to recreate a string > >newstring=tmp.join Aha. split/join. I had forgotten join, having rarely if ever used it. That might actually have some value in what I'm doing, since at the moment it happens, I know enough to know that the bytes are going back together into a string, maybe. Thanks! Good reminder of simple stuff! Ronald E Jeffries http://www.XProgramming.com http://www.objectmentor.com I'm giving the best advice I have. You get to decide whether it's true for you.