XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next

char-downcase


Type:   -   function (subr)
Source:   -   xlstr.c

Syntax

(char-downcase char)
char - a character expression
returns - the lower case character

Description

The 'char-downcase' function converts the 'char' expression to lower case. The lower case equivalent of 'char' is returned. If the 'char' is not alphabetic ('a' thru 'z' or 'A' thru 'Z'), the character is returned unchanged.

Examples

(char-downcase #\0)   ; returns #\0
(char-downcase #\A)   ; returns #\a
(char-downcase #\a)   ; returns #\a
(char-downcase #\[)   ; returns #\[
(char-downcase #\+)   ; returns #\+

See the char-downcase function in the XLISP 2.0 manual.

  Back to Top


XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next