IndexChar0 function
Return index of a character in null-terminated array of char.
Declaration
function IndexChar0(const buf; len: SizeInt; b: AnsiChar): SizeIntDescription
IndexChar0 returns the index of the character
b in the
null-terminated array
Buf. At most
len characters will
be searched, or the null character if it is encountered first. If the
character is not found, -1 is returned.Errors
On error, -1 is returned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
