ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:tolower

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
functions:tolower [2017/03/19 21:07] – created korshunfunctions:tolower [2017/04/15 17:36] (current) korshun
Line 5: Line 5:
 ===== Description ===== ===== Description =====
 Returns the lowercase version of c. If c is not an ASCII letter, it is returned unchanged. 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 ===== ===== Examples =====
Line 10: Line 12:
 tolower('A') -> 'a' tolower('A') -> 'a'
 tolower('a') -> 'a' tolower('a') -> 'a'
 +tolower('/') -> '/' // not a letter
 tolower('Ä') -> 'Ä' // non-ASCII character tolower('Ä') -> 'Ä' // non-ASCII character
 </code> </code>
 +
 +===== See also =====
 +[[toupper]]
 +
functions/tolower.1489950456.txt.gz · Last modified: 2017/03/19 21:07 by korshun