IsLetter: Boolean;
The IsLetter property returns whether the variable contains letters.
Available values:
True. The value is letter.
False. All the rest of the cases.
Sub UserProc;
Var
c, c1, c2, c3: Char;
b, b1, b2, b3: Boolean;
Begin
c := 'a';
c1 := 'A';
c2 := '4';
c3 := '+';
b := c.IsLetter;
b1 := c1.IsLetter;
b2 := c2.IsLetter;
b3 := c3.IsLetter;
End Sub UserProc;
After executing the example the "b" and "b1" variables contain True, and the "b2" and "b3" variables contain False.
See also: