note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
toupper
warning
This function starts with a lowercase letter.
Description
This function changes a single character to uppercase.
Name | Description |
---|---|
c | The character to change to uppercase. |
Returns
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
- tolower: This function changes a single character to lowercase.