Belgi Belgi - 4 months ago 47
Java Question

How to convert ASCII code (0-255) to a String of the associated character?

I have an int int the range 0-255, and I want to create a String (of length 1) so that the ASCII value of this single character is the specified integer.

Is there a simple way to do this in Java ?


65 -> "A"
102 -> "f"