convert int to char
i want to alter letters like this:
letter + k
for example: a+1=b, b+1=c; x+2=z;...
i did it like that:
int k = 1;
b = readWord(); // input is the letter 'A'
a = b.charAt(0);
y = a + k;
output: 66 ('B' in ASCII) but i want the letter 'B' to be put out. how can i convert the "int" into a "char" again?
later i want to 'crypt' a whole string.
thx and nice greez
ps.: sorry for the sloppy english!
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center