Toupper

toupper

Description:
Function toupper changes a single character to uppercase.
This function name starts with a lowercase letter.


Parameters:
(c)
int c The character to change to uppercase.


Return Values:
The ASCII value of the character provided, but in uppercase.


Examples:
public OnPlayerText(playerid, text[])
{
    text[0] = toupper(text[0]);
    //This sets the first character to upper case.
    return 1;
}


Related Functions
The following functions may be useful, as they are related to this function in one way or another.
  • tolower - Sets a character to lower case.