Converts all letters in a string to lowercase.
|
NewString := LOWERCASE(String)
|
Parameters
- String
-
Type: Text constant or code
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.
Property Value/Return Value
Type: Text constant or code
The resulting string after it has been converted to
lowercase.
Example
This example requires that you create the following
variables and text constants in the C/AL Globals window.
Variable name |
DataType |
Length |
Str
|
Text
|
60
|
Lower
|
Text
|
60
|
Text constant |
ENU value |
Text000
|
The Entries are Sorted by Name.
|
Text001
|
The string before LOWERCASE is:\>%1<
|
Text002
|
The string after LOWERCASE is:\>%1<
|
|
Copy Code |
Str := Text000;
MESSAGE(Text001, Str);
Lower := LOWERCASE(Str);
MESSAGE(Text002, Lower);
|
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.<
See Also