> map (lambda ch: '%02x' % ord (ch), stringvar), ord ?!! I knew I was missing something. Thanks. I like the looks of the rest of your solution and will study it. -- Dennis Reinhardt http://www.dair.com