The lower case letter „a“ has ASCII code „97“ and can be generated in PHP like this:
<?php $a = chr(97); echo $a; ?> |
In JavaScript, the same can be accomplished by:
<script type="text/javascript"> var a = String.fromCharCode(97); document.write(a); </script> |
And this is how it works in Java:
public static void main(String[] args){ String a = new Character((char) 97).toString(); System.out.println(a); } |