Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Version: Available or changed with runtime version 1.0.
Converts all letters in a string to lowercase.
Syntax
NewString := Text.LowerCase(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 lowercase. Only letters in the range A to Z and, if applicable, special language characters are converted.
Return Value
NewString
Type: Text
The string converted to lowercase.
Remarks
Because the Text.LowerCase method is culture-variant, its behavior may vary across different locales. For example, certain characters in languages such as Turkish or Greek may be transformed differently based on regional linguistic rules. For culture-invariant method check Text.ToLower()
Example
var
Str: Text[60];
Lower: Text[60];
Text000: Label 'The Entries are Sorted by Name.';
Text001: Label 'The string before LowerCase is:>%1<';
Text002: Label 'The string after LowerCase is:>%1<';
begin
Str := Text000;
Message(Text001, Str);
Lower := LowerCase(Str);
Message(Text002, Lower);
end;
The first message window displays the following:
The string before LowerCase is:
>The Entries are Sorted by Name.<
The second message window displays the following:
The string after LowerCase is:
>the entries are sorted by name.<