Embarcadero Delphi Strings Chars


Example

2009
uses
  Character;

var
  C1, C2: Char;
begin
  C1 := 'F';
  C2 := ToLower(C1); // Convert the char to lower-case
  C1 := ToUpper(C2); // Convert the char to upper-case

The uses clause should be System.Character if version is XE2 or above.