Toupper
From SA-MP Wiki
toupper
Note: This function name starts with a lowercase letter. |
Description:
This function changes a single character to uppercase.
(c)
c | The character to change to uppercase. |
Return Values:
The ASCII value of the character provided, but in uppercase.
Example Usage:
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.