ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:toupper

This is an old revision of the document!


Table of Contents

toupper

int toupper(int c)

Description

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

Examples

toupper('a') -> 'A'
toupper('A') -> 'A'
toupper('/') -> '/' // not a letter
toupper('ä') -> 'ä' // non-ASCII character

See also

functions/toupper.1492266955.txt.gz · Last modified: 2017/04/15 17:35 by korshun