Indeed, the implementation with the format might be the slickest, regarding the efficiency and all. BTW, the variable N in the 1st Decipher dataset turns out unused. If it is put to some use, the sum statement "N+1;" seems to be abled to be spared, along with re-declaration of "Letter $1". Thanks for sharing the program