how to increment a character
for eg/- i want to generate a,b,c,d,e,f...in C i can add 1 to ascii value, but in java '+ ' will cause concat. Point to some API if there is
> for eg/- i want to generate a,b,c,d,e,f...> in C i can add 1 to ascii value, but in java '+ '> will cause concat. Point to some API if there is+ concats only String not char
Usually I just create literal of the characters I want to run over, and then use charAt(i++) to get the next one.
e.g.
"abcefghijk".charAt(index);
You can use casts though - cast character to int and back again as in:
ch = (char)((int)ch + 1);