firstCharToUpper

firstCharToUpper() updating;

The firstCharToUpper method of the String primitive type converts a lowercase first character in the receiving string to uppercase, according to the conventions of the current locale.

The following example shows the use of the firstCharToUpper method.

vars
    stringValue : String;
begin
    stringValue := 'hello world';
    stringValue.firstCharToUpper;
    write stringValue;           // Outputs 'Hello world'
end;