Convert value to character based on its ASCII code : chr « String « Perl
- Perl
- String
- chr
Convert value to character based on its ASCII code
$s = 65;
print "The character " . chr($s) . " corresponds to ASCII code $s";
Related examples in the same category