User manual

Table Of Contents
mikroC PRO for PIC32
MikroElektronika
609
toupper
Prototype
unsigned int toupper(char character);
Description If the character is a lowercase letter (a-z), the function returns an uppercase letter. Otherwise, the
function returns an unchanged input parameter.
Example
res = toupper(‘a’); // returns A
res = toupper(‘B’); // returns B
tolower
Prototype
unsigned int tolower(char character);
Description If the character is an uppercase letter (A-Z), function returns a lowercase letter. Otherwise, function
returns an unchanged input parameter.
Example
res = tolower(‘A’); // returns a
res = tolower(‘b’); // returns b