XLISP char-downcase

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference

# 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 'char' is not alphabetic [a-z or A-Z], then the character is returned unchanged.

## Examples

    (char-downcase #\0)  => #\0
    (char-downcase #\A)  => #\a
    (char-downcase #\a)  => #\a
    (char-downcase #\[)  => #\[
    (char-downcase #\+)  => #\+

See also:

- Contents → Character Functions

Back to Top

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference