help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

AnsiLowerCase

Return a lowercase version of a string.

Declaration

Source position: sysstrh.inc line 81

function AnsiLowerCase(

  const s: String

):String;

Description

AnsiLowerCase converts the string S to lowercase characters and returns the resulting string. It takes into account the operating system language settings when doing this, so spcial characters are converted correctly as well.

Remark: On linux, no language setting is taken in account yet.

Errors

None.

See also

AnsiUpperCase

  

Return an uppercase version of a string, taking into account special characters.

AnsiStrLower

  

Convert a null-terminated string to all-lowercase characters.

AnsiStrUpper

  

Convert a null-terminated string to all-uppercase characters.

Example

Program Example53;

{ This program demonstrates the AnsiLowerCase function }

Uses sysutils;

Procedure Testit (S : String);

begin
 Writeln (S,' -> ',AnsiLowerCase(S))
end;

Begin
  Testit('AN UPPERCASE STRING');
  Testit('Some mixed STring');
  Testit('a lowercase string');
End.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505