IsLetterOrDigit: Boolean;
The IsLetterOrDigit property returns whether the variable contains letters or decimals. The property returns True if the value is a letter or a digit, and otherwise it returns False.
Sub Main;
Var
c, c1, c2, c3: Char;
b, b1, b2, b3: Boolean;
Begin
c := 'a';
c1 := 'A';
c2 := '4';
c3 := '+';
b := c.IsLetterOrDigit;
b1 := c1.IsLetterOrDigit;
b2 := c2.IsLetterOrDigit;
b3 := c3.IsLetterOrDigit;
End Sub Main;
After executing the example the "b", "b1" and "b2" variables will contain True, and the "b3" variable will contain False.
See also: