| Description |
|
Converts all characters in the current string to lower case, taking into account culture information as appropriate.
|
| | Notes | Like a lot of string methods, the string object itself is not affected - the modified string is returned for assignment.
|
|
| Microsoft MSDN Links |
system
system.String
|
|
|
| A simple example |
program Project1;
{$APPTYPE CONSOLE}
var
strA, strB : String;
begin
strA := 'Hello cruel World';
Console.WriteLine('strA = ' + strA);
strB := strA.ToLower;
Console.WriteLine('Converting to lower case');
Console.WriteLine('strB = ' + strB);
Console.ReadLine;
end.
| | Show full unit code | strA = Hello cruel World
Converting to lower case
strB = hello cruel world
|
| |
|
|
|