Another ascii question....
Firstly I would like to say hello as this is my first post.
Secondly, I would like to apologise for this thread about ascii, but its bothering me.
I've written this:
byte x = message.getBytes();
for(int i = 0; i < x.length; i++)
mess += Integer.toString(x[i]);
which takes a String parameter and returns the ascii value, so, "A" would return 65, "AA" would return 6565 etc
My question is this: Taking the latter of the two examples above, how would I return 6565 to "AA".
It's quite late at night to be dealing with this but I'm stuck and cant sleep so thought I would give it a go with no success at this point in time.
I look forward to anyone who can shed some light on this.