Return position of one null-terminated substring in another.
Source position: sysansih.inc line 20
function AnsiStrPos( |
str: PAnsiChar; |
substr: PAnsiChar |
):PAnsiChar; |
AnsiStrPos returns a pointer to the first occurrence of SubStr in Str. If SubStr does not occur in Str then Nil is returned.
An access violation may occur if either Str or SubStr point to invalid memory.
|
Return Position of one ansistring in another. |
|
|
Find first occurrence of a character in a null-terminated string. |
|
|
Find last occurrence of a character in a null-terminated string. |