testing the contents of a char array

Well that does make me feel stupid...
Thanks