DelphiBasics
AnsiLowerCase
Function
Change upper case characters in a string to lower case SysUtils unit
 function AnsiLowerCase(const MixedString string):string;
Description
The AnsiLowerCase function creates a copy of MixedString with all letters converted to lower case.
 
All Ansi commands support multi-byte and accented characters.
Notes
AnsiLowerCase supercedes the LowerCase function.

Multi-byte character sets are operating system defined. For example, Oriental versions of Windows uses multi-byte characters to support their very large set of primitives ('letters').
Related commands
AnsiUpperCaseChange lower case characters in a string to upper case
UpCaseConvert a Char value to upper case
 Download this web site as a Windows program.




 
Example code : Converting a mixed case string to lower case
var
  SimpleString : string;

begin
  SimpleString := AnsiLowerCase('The Cat Sat On The MAT');
  ShowMessage('SimpleString : '+SimpleString);
end;
Show full unit code
  SimpleString : the cat sat on the mat
 
Delphi Programming © Neil Moffatt . All rights reserved.  |  Home Page