Home >> perlfunctions >>Perl function: chrSyntax:chr EXPR chrReverse of perl function ord. Used to convert ASCII or Unicode values into their equivalent characters. Unicode character numbers are used for numerical values above 127. Example: print chr(76), "\n"; print chr(0x4C), "\n";Output: L L76 is the Decimal value of letter L and 4C is it's Hexadecimal value. Perl functions
|
List of all perl functions Perl function : split Perl function: abs Perl function: chomp Perl function: chop Perl function: crypt Perl function: eval Perl function: hex Perl function: lc Perl function: lcfirst Perl function: length Perl function: oct Perl function: ord Perl function: shift
|