Show contents 

System > System Assembly Classes > String > String.ToUpper

String.ToUpper

Syntax

ToUpper(Source: String): String;

Parameters

Source. Source string.

Description

The ToUpper method makes all the characters of the specified string uppercase.

Example

Sub UserProc;
Var
    s, s1: String;
Begin
    s := "aBcDeF";
    s1 := String.ToUpper(s);
End Sub UserProc;

After executing the example the "s1" variable contains the string "s", all the characters of which are uppercase: "ABCDEF".

See also:

String