Sign in Join
FPDoc Onlineexperiment

PosSet function

In unit StrUtils

Return the position in a string of any character out of a set of characters.

Declaration

pascal
function PosSet(const c: TSysCharSet; const s: ansistring): SizeInt

Description

PosSet returns the position in s of the first found character which is in the set c. If none of the characters in c is found in s, then 0 is returned.

Errors

None.

See also

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