Character Functions

Return to Functions

isalnum

    Arguments:
        1) char: value
    Return Type:
        bool

Returns true if the character is a letter or number.

isalpha

    Arguments:
        1) char: value
    Return Type:
        bool

Returns true if the character is a letter.

isdigit

    Arguments:
        1) char: value
    Return Type:
        bool

Returns true if the character is a number.

islower

    Arguments:
        1) char: value
    Return Type:
        bool

Returns true if the character is a lowercase letter.

ispunct

    Arguments:
        1) char: value
    Return Type:
        bool

Returns true if the character is a punctuation mark.

isupper

    Arguments:
        1) char: value
    Return Type:
        bool

Returns true if the character is an uppercase letter.

isxdigit

    Arguments:
        1) char: value
    Return Type:
        bool

Returns true if the character is a hexadecimal number (a-f, A-F, 0-9).

tolower

    Arguments:
        1) char: value
    Return Type:
        char

Returns the character converted to lowercase if possible, otherwise returns itself.

toupper

    Arguments:
        1) char: value
    Return Type:
        char

Returns the character converted to uppercase if possible, otherwise returns itself.