Index of text in a list of values.
Source position: strutils.pp line 51
function IndexText( |
const AText: Ansistring; |
const AValues: array of Ansistring |
):Integer; |
const AText: UnicodeString; |
const AValues: array of UnicodeString |
):Integer; |
IndexText returns the index of the string in the array aValues that matches aText, and -1 otherwise. The comparison is done case insensitively. If you wish to compare case sensitively, use IndexStr instead.
|
Searches, observing case, for a string in an array of strings. |
|
|
Check if a string is in a list of values. |
|
|
Searches, case insensitive, for a string in an array of strings. |