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



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

IndexChar0

Return index of a character in null-terminated array of char.

Declaration

Source position: systemh.inc line 427

function IndexChar0(

  const buf;

  len: SizeInt;

  b: Char

):SizeInt;

Description

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, 0 is returned.

Errors

On error, 0 is returned.

See also

IndexByte

  

Search for a byte in a memory range.

IndexChar

  

Search for a character in a memory range.

IndexWord

  

Search for a WORD value in a memory range.

IndexDWord

  

Search for a DWord value in a memory range.

CompareChar0

  

Compare two buffers character by character till a null-character is reached.

Notes

 No notes exist for this page yet. 





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