[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'sysutils' (#rtl) |
Convert a null-terminated string to all-uppercase characters.
Source position: sysstrh.inc line 91
function AnsiStrUpper( |
Str: PChar |
):PChar; |
AnsiStrUpper converts the PCharStr to uppercase characters and returns the resulting string. Note that Str itself is modified, not a copy, as in the case of AnsiUpperCase. It takes into account the operating system language settings when doing this, so special characters are converted correctly as well.
Remark: | On linux, no language setting is taken in account yet. |
None.
|
Return an uppercase version of a string, taking into account special characters. |
|
|
Convert a null-terminated string to all-lowercase characters. |
|
|
Return a lowercase version of a string. |
Program Example60; { This program demonstrates the AnsiStrUpper function } Uses sysutils; Procedure Testit (S : Pchar); begin Writeln (S,' -> ',AnsiStrUpper(S)) end; Begin Testit('AN UPPERCASE STRING'); Testit('Some mixed STring'); Testit('a lowercase string'); End.
No notes exist for this page yet.