[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

CharInSet

Check whether a char is in a set of characters

Declaration

Source position: sysansih.inc line 27

function CharInSet(

  Ch: AnsiChar;

  const CSet: TSysCharSet

):Boolean;

function CharInSet(

  Ch: WideChar;

  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.


Documentation generated on: Jun 23 2021