Char.IsLetterOrDigit

Syntax

IsLetterOrDigit: Boolean;

Description

The IsLetterOrDigit property returns whether the variable contains letters or decimals.

Comments

Available Values

Example

Sub UserProc;
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 UserProc;

After executing the example the "b", "b1" and "b2" variables contain True, and the "b3" variable contains False.

See also:

Char