Sign in Join
FPDoc Onlineexperiment

PosSetEx function

In unit StrUtils

Return the position in a string of any character out of a set of characters, starting at a certain position.

Declaration

pascal
function PosSetEx(const c: TSysCharSet; const s: ansistring; 
 count: Integer): SizeInt

Description

PosSetEx returns the position in s of the first found character which is in the set c, and starts searching at character position Count. 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.