Tolower

From SA-MP Wiki

Jump to: navigation, search

tolower

Image:Farm-Fresh text lowercase.png Note: This function name starts with a lowercase letter.


Description:

This function changes a single character to lowercase.


Parameters:
(c)
cThe character to change to lowercase.

Return Values:

The ASCII value of the character provided as lowercase.


Example Usage:

public OnPlayerText(playerid, text[])
{
    text[0] = tolower(text[0]);
    //This sets the first character to lowercase.
    return 1;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

toupper - Sets a character to uppercase.

Personal tools