Yes, I think I can understand what you're getting at.

I think you want the

length() method of the String class as you're trying to figure if the string length is even or odd, am I right?

...