PERLFUNC: chr - get character this number represents 
Author Message
 PERLFUNC: chr - get character this number represents

(This excerpt is from the perlfunc manpage, part of the standard set of
documentation included with every valid Perl distribution--like the one on
your own system.  See also http://www.*-*-*.com/
or http://www.*-*-*.com/
if your negligent system adminstrator has been remiss in his duties.)

NAME
    chr - get character this number represents

SYNOPSIS
    chr NUMBER

    chr

DESCRIPTION
    Returns the character represented by that NUMBER in the character
    set. For example, `chr(65)' is `"A"' in either ASCII or Unicode,
    and chr(0x263a) is a Unicode smiley face (but only within the scope
    of a `use utf8'). For the reverse, use the "ord" entry in the
    perlfunc manpage. See the utf8 manpage for more about Unicode.

    If NUMBER is omitted, uses `$_'.

--
"PC's are backwards ... throw them out! Linux is ok though."
    --Rob Pike (on the subject of CR/LF etc)



Sun, 09 Dec 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Q: representing 0 font with characters in text widget

2. How to represent 64-bit hex number ?

3. regular expression-search odd number or even number of characters in a string

4. PERLFUNC: ord - find a character's numeric representation

5. PERLFUNC: getc - get the next character from the filehandle

6. PERLFUNC: chop - remove the last character from a string

7. PERLFUNC: getc - get the next character from the filehandle

8. PERLFUNC: chop - remove the last character from a string

9. PERLFUNC: quotemeta - quote regular expression magic characters

10. PERLFUNC: ord - find a character's numeric representation

11. PERLFUNC: time - return number of seconds since 1970

 

 
Powered by phpBB® Forum Software