Name
Parent
Visibility
Description
| |
Recherche une chaîne dans une liste de chaînes Recherche une chaîne dans une liste de chaînes, en débutant et s'arrêtant à des index spécifiés. |
Source code
| |
class function IndexOf ( Strings : TStrings ; const Str : string ; BeginSearchAt : Integer = 0 ; EndSearchAt : Integer = - 1 ) : Integer |
Parameters
| |
| Parameter |
Description |
| Strings : TStrings |
Liste de chaînes concernée |
| Str : STRING |
Chaîne à rechercher |
| BeginSearchAt : INTEGER |
Index à partir duquel chercher |
| EndSearchAt : INTEGER |
Index jusqu'auquel chercher (jusqu'à la fin si -1) |
|
Return
| |
| Types |
Description |
| INTEGER |
Index de la première chaîne correspondant à Str, ou -1 si non trouvée |
|
|