Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function ToLowerInvariant: Substr.Substring; overload; | A copy in lower case by the operating system's case table, the same under every locale. |
| 2 | class function ToLowerInvariant(const S: string): Substr.Substring; overload; static; |
Overload 1: function ToLowerInvariant: Substr.Substring; overload;
A copy in lower case by the operating system's case table, the same under every locale.
Returns: Substring
Remarks:
The class form takes every text kind. Note: This routine is 5 to 28 times slower than ToLowerAscii due to the operating system's case table. Use ToLowerAscii, if A to Z is enough.
Examples
Accented letters.
uses Substr;
procedure Example;
begin
Assert(Substring('AB'#$C9).ToLowerInvariant = 'ab'#$E9);
Assert(Substring.ToLowerInvariant('AB'#$C9) = 'ab'#$E9);
end;
Overload 2: class function ToLowerInvariant(const S: string): Substr.Substring; overload; static;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | S | string |
Returns: Substring