[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Return position of one null-terminated substring in another
Source position: sysansih.inc line 25
function AnsiStrPos( |
str: PChar; |
substr: PChar |
):PChar; |
AnsiStrPosreturns a pointer to the first occurrence of SubStrin Str. If SubStrdoes not occur in Strthen Nilis returned.
An access violation may occur if either Stror SubStrpoint 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. |