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 Main;

Var

s, s1: String;

Begin

s := "aBcDeF";

s1 := String.ToUpper(s);

End Sub Main;

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

See also:

String