Originally Posted by matsp print each of the words[i] characters as decimal or hex to see if there is any invisible characters that "get in the way". -- Mats do you mind explaining how it's supposed to be done? i'm really lost at this. not typecasting is it?