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.

The string equivalent to text with all the letters in uppercase.

The strUpr function is complementary to the strLwr function.

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

static void strUprExample(Args _args)
{
    // Returns the string ABCDD55EFGHIJ.
    print strUpr("Abcdd55EFGhiJ");
    pause;
}

Community Additions

ADD
Show: