HasChar function check if a given string contains non digit characters.