firstCharToUpper
firstCharToUpper() updating;
The firstCharToUpper method of the StringUtf8 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 str8 : StringUtf8; begin str8 := @'hello world'; str8.firstCharToUpper; write str8; // Outputs 'Hello world' end;