View Single Post
  #1 (permalink)  
Old 01-31-2008, 02:58 PM
gapper gapper is offline
Member
 
Join Date: Jan 2008
Posts: 17
gapper is on a distinguished road
Getting ASCII codes of character
I am writing a method that will take a character and will check if it lies under ASCII range. I know the ASCII codes range but don't know exactly how to proceed. The method signature is as follows:

Code:
public static boolean validateCharacter(char a) { ... }
Kindly advice.
Reply With Quote
Sponsored Links