Computing.Net > Forums > Programming > cheaking 2 chars in java

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

cheaking 2 chars in java

Reply to Message Icon

Name: lordmanhamer
Date: March 23, 2005 at 07:29:19 Pacific
OS: Win Xp Pro
CPU/Ram: AMD 3200/ 256
Comment:

im having some problems with java. what i have is to chars and i wish to chang them to a decimal unicode so that i can then compair the two to see where on is in referance to the alphabet as the other on. eg if a comes before c therefore there will be a lower number brought back from the unicode. i think the comand is getNumericValue(char ch); but i dont know how to use it can some one please help with a example of how to use that comand



Sponsored Link
Ads by Google

Response Number 1
Name: kl365
Date: March 23, 2005 at 12:18:02 Pacific
Reply:

hey,

check this site out. It has a quick reference for all the conversions that you need :D

http://www.rgagnon.com/javadetails/java-0004.html

later.

kl365




0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: cheaking 2 chars in java

how do you compare 'char' in java www.computing.net/answers/programming/how-do-you-compare-char-in-java/4005.html

how to compare 2 files in java www.computing.net/answers/programming/how-to-compare-2-files-in-java/19445.html

Object array in Java www.computing.net/answers/programming/object-array-in-java/11087.html