Home  |  Delphi .net Home  |  System.String  |  ToLower Method
  
ToLower  
Method  
Converts a string to lower case
String Class
System NameSpace
CF1.  Function ToLower : String;
CF2.  Function ToLower ( Culture : CultureInfo ) : String;
CF : Methods with this mark are Compact Framework Compatible
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
 Author links

 Buy Website Traffic at
 Buywebsitetrafficexperts.com

 Buy Proxies at
 Buyproxies.io
 
 
 
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.
   strA = Hello cruel World
   Converting to lower case
   strB = hello cruel world
 
 
Delphi Programming Neil Moffatt 2002 - 2017. All rights reserved.  |  Contact the author