ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:tolower

Table of Contents

tolower

int tolower(int c)

Description

Returns the lowercase version of c. If c is not an ASCII letter, it is returned unchanged.

To change the case of a whole string, use StrToLower.

Examples

tolower('A') -> 'a'
tolower('a') -> 'a'
tolower('/') -> '/' // not a letter
tolower('Ä') -> 'Ä' // non-ASCII character

See also

functions/tolower.txt · Last modified: 2017/04/15 17:36 by korshun