Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function ToLowerAscii: Substr.Substring; overload; | A copy with 'A'..'Z' in lower case; every other character is unchanged. |
| 2 | class function ToLowerAscii(const S: string): Substr.Substring; overload; static; |
Overload 1: function ToLowerAscii: Substr.Substring; overload;
A copy with 'A'..'Z' in lower case; every other character is unchanged.
Returns: Substring
Remarks:
The class form takes every text kind. Note: This routine handles only ANSI/ASCII case char mapping and does not handle locale specific char handling, but it is 5 to 28 times faster than its ToLowerLinguistic alternative.
Examples
ASCII letters only.
uses Substr;
procedure Example;
begin
Assert(Substring('AB'#$C9).ToLowerAscii = 'ab'#$C9);
Assert(Substring.ToLowerAscii('ABC') = 'abc');
end;
Overload 2: class function ToLowerAscii(const S: string): Substr.Substring; overload; static;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | S | string |
Returns: Substring