strUpr Function

Converts all the letters in a string to uppercase.


str strUpr(str _text)

Parameter

Description

_text

The string to convert to uppercase letters.

A copy of the specified string with only lowercase letters.

The strUpr function is complementary to the strLwr function.

The strUpr function uses the LCMapString() function in the Win32 API.

The following example will print ABCDD55EFGHIJ.

static void strUprExample(Args _args)
{
    print strUpr("Abcdd55EFGhiJ");
    pause;
}

Community Additions

ADD
Show: