check for lower or upper case char