| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Return index of a character in null-terminated array of char.
Source position: systemh.inc line 753
function IndexChar0(  | 
const buf;  | 
len: SizeInt;  | 
b: Char  | 
):SizeInt;  | 
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.
On error, -1 is returned.
  | 
Search for a byte in a memory range.  | 
|
  | 
Search for a character in a memory range.  | 
|
  | 
Search for a WORD value in a memory range.  | 
|
  | 
Search for a DWord value in a memory range.  | 
|
  | 
Compare two buffers character by character till a null-character is reached.  |