[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Return a lowercase version of a string.
Source position: sysstrh.inc line 89
function AnsiLowerCase( |
const s: String |
):String; |
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: | A widestring manager must be installed in order for this function to work correctly with various character sets. |
None.
|
Return an uppercase version of a string, taking into account special characters. |
|
|
Convert a null-terminated string to all-lowercase characters. |
|
|
Convert a null-terminated string to all-uppercase characters. |
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.
lazarus-ccr.sourceforge.net |