Text.UpperCase(Text) Method
Version: Available or changed with runtime version 1.0.
Converts all letters in a string to uppercase.
Syntax
NewString := Text.UpperCase(String: Text)
Note
This method can be invoked without specifying the data type name.
Parameters
String
Type: Text
The string that you want to convert to uppercase.
Return Value
NewString
Type: Text
The string converted to uppercase.
Example
The following example shows how to use the UpperCase method.
var
Text000: Label 'Outstanding Order Status';
Text001: Label 'The test string before UpperCase is called:\\%1';
Text002: Label 'The string after UpperCase is called:\\%1';
begin
Lower := Text000;
Message(Text001, Lower);
Upper := UpperCase(Lower);
Message(Text002, Upper);
end;
The first message window displays the following:
The test-string before UpperCase is called:
Outstanding Order Status
The second message window displays the following:
The string after UpperCase is called:
OUTSTANDING ORDER STATUS
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for