ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:toupper

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
functions:toupper [2017/03/19 21:10] korshunfunctions:toupper [2017/04/15 17:36] (current) korshun
Line 5: Line 5:
 ===== Description ===== ===== Description =====
 Returns the uppercase version of c. If c is not an ASCII letter, it is returned unchanged. Returns the uppercase version of c. If c is not an ASCII letter, it is returned unchanged.
 +
 +To change the case of a whole string, use [[StrToUpper]].
  
 ===== Examples ===== ===== Examples =====
Line 10: Line 12:
 toupper('a') -> 'A' toupper('a') -> 'A'
 toupper('A') -> 'A' toupper('A') -> 'A'
 +toupper('/') -> '/' // not a letter
 toupper('ä') -> 'ä' // non-ASCII character toupper('ä') -> 'ä' // non-ASCII character
 </code> </code>
  
 ===== See also ===== ===== See also =====
-  * [[tolower]] +[[tolower]] 
-  * [[StrToLower]]+
functions/toupper.txt · Last modified: 2017/04/15 17:36 by korshun