Belgi Belgi - 1 year ago 101
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"

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download