> So instead the test should be taking place on char variable instead of string right?

Ah, yes that's right. I looked right past that.