Skip to main content

tolower

warning

This function starts with a lowercase letter.

Description

This function changes a single character to lowercase.

NameDescription
cThe character to change to lowercase.

Returns

The ASCII value of the character provided as lowercase.

Examples

public OnPlayerText(playerid, text[])
{
text[0] = tolower(text[0]);
//This sets the first character to lowercase.
return 1;
}
  • toupper: This function changes a single character to uppercase.