Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

CharInSet

Check whether a char is in a set of characters.

Declaration

Source position: sysansih.inc line 28

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 Set~

Later versions of this function may take WideChar into account.


Documentation generated on: Dec 24 2024