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