Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function ToUpperAscii: Substr.Substring; overload; | A copy with 'a'..'z' in upper case; every other character is unchanged. |
| 2 | class function ToUpperAscii(const S: string): Substr.Substring; overload; static; |
Overload 1: function ToUpperAscii: Substr.Substring; overload;
A copy with 'a'..'z' in upper 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 26 times faster than its ToUpperLinguistic alternative.
Examples
ASCII letters only.
uses Substr;
procedure Example;
begin
Assert(Substring('ab'#$E9).ToUpperAscii = 'AB'#$E9);
Assert(Substring.ToUpperAscii('abc') = 'ABC');
end;
Overload 2: class function ToUpperAscii(const S: string): Substr.Substring; overload; static;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | S | string |
Returns: Substring