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

Next revision
Previous revision
functions:toupper [2017/03/19 21:08]
korshun created
functions: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>
Line 15: Line 18:
 ===== See also ===== ===== See also =====
 [[tolower]] [[tolower]]
 +
functions/toupper.1489950535.txt.gz · Last modified: 2017/03/19 21:08 by korshun