9

I am using the charAt(integer) method which returns the ASCII code as integer. How to convert that ASCII code to it's original character in "Apex"?

1 Answer 1

12
String myChar = String.fromCharArray( new List<integer> { 65 } );

myChar is 'A' now.

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .