Substring.UpperCaseAscii Method

procedure UpperCaseAscii;

Maps the text's ASCII letters to upper case, in place.

Result: stored in self (calling object)

Remarks:

Only 'a'..'z' change. Nothing is allocated or written after the text; the characters change where they are, so a copy, part or adopted string that shares them sees it.

Examples

ASCII letters only.

uses Substr;

procedure Example;
var s: Substring;
begin
    s := Substring('ab'#$E9);
    s.UpperCaseAscii;
    Assert(s = 'AB'#$E9);
end;
See Also: Substring.ToUpperAscii, Substring.ToUpperAscii, Substring.ToUpperInvariant, Substring.ToUpperInvariant, Substring.ToUpperLinguistic, Substring.ToUpperLinguistic, Substring.ToUpperLinguistic, Substring.ToUpperLinguistic