[Overview][Procedures and functions][Index] |
Return the position of a substring in a string, case insensitive.
Source position: strings.pp line 91
function stripos( |
str1: pchar; |
str2: pchar |
):pchar; |
stripos returns the position of str2 in str1. It searches in a case-insensitive manner, and if it finds a match, it returns a pointer to the location of the match. If no match is found, Nil is returned.
No checks are done on the validity of the pointers, and the pointers are assumed to point to a properly null-terminated string. If either of these conditions are not met, a run-time error may follow.
|
Scan a string for a character, case-insensitive |
|
|
Search for a null-terminated substring in a null-terminated string |
lazarus-ccr.sourceforge.net |