title: check if a long type contains characters
body: <p>I have a textfield which takes long value and if it takes characters then it should display an error message. Is there any method like isNAN() for long to check whether that variable contains any character?</p>