System > System Assembly Classes > String > String.ToUpper
ToUpper(Source: String): String;
Source. Source string.
The ToUpper method makes all the characters of the specified string uppercase.
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: