I need a function that will tell if a given variable is a character or a number. Is there a way to do this? Thanks!