[Overview][Resource strings][Constants][Types][Procedures and functions][Index] |
Searches, case insensitive, for a string in an array of strings.
Source position: strutils.pp line 35
function AnsiIndexText( |
const AText: String; |
const AValues: array of String |
):Integer; |
AText |
|
String to search for |
AValues |
|
Array of strings to search in. |
Index of the matching element in the array, otherwise -1.
AnsiIndexStr matches AText against each string in AValues . If a match is found, the corresponding index (zero-based) in the AValues array is returned. If no match is found, -1 is returned. The strings are matched ignoring case.
None
|
Searches, observing case, for a string in an array of strings. |
|
|
Check whether a string occurs in an array of strings, observing case. |
|
|
Check whether a string occurs in an array of strings, disregarding case. |
lazarus-ccr.sourceforge.net |