Tuesday, June 30, 2009

get integer value of a char

int x = str.charAt(1)

This return the integer values of the char.

ex:-

A = 97

No comments:

Post a Comment