Sign in Join
FPDoc Onlineexperiment

CharInSet function

In unit sysutils

Check whether a char is in a set of characters.

Declaration

pascal
function CharInSet(Ch: AnsiChar; const CSet: TSysCharSet): Boolean

Description

CharInSet returns True if Ch matches one of the characters in CSet, it returns False otherwise. It is equivalent to

Ch in CSet

Later versions of this function may take WideChar into account.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.