help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'strutils' (#rtl)

PosSet

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

Declaration

Source position: line 0

function PosSet(

  const c: TSysCharSet;

  const s: ansistring

):Integer;

function PosSet(

  const c: String;

  const s: ansistring

):Integer;

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

PosEx

  

Search for the occurance of a character in a string, starting at a certain position.

PosSetEx

  

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

#rtl.system.pos

  

Search for substring in a string.

RPosEx

  

Find last occurrence substring or character in a string, starting at a certain position

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505