Check if character is letter in Delphi (Unicode)
On Rad Studio XE4 I am told that TCharacter
is deprecated and to use System.Character.TCharHelper
instead. It is a record helper that extends type Char
with functions in method syntax. This means that I now add System.Character
to my uses list and can then call e.g. C.IsLetterOrDigit
where C
is of type Char
.
Try using the Character.TCharacter.IsLetter
or Character.IsLetter
functions