JVCL Help:TJvTranslatorStrings.IndexOf
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvTranslatorStrings.IndexOf Method
[+] TJvTranslatorStrings Methods
[+] TJvTranslatorStrings Properties
Search in JVCL Help
Search in all projectsSummary
Returns the position of a string in the list.
Pascal
functionIndexOf(constName: string): Integer;
Parameters
Parameters | Description |
const Name: string | The string to search for. |
Return Value
The 0-based index of the found string or -1 if not found.
Description
Call IndexOf to obtain the position of the first occurrence of the string Name, or of a string that differs from Name only by case. IndexOf returns the 0-based index of the string. Thus, if Name matches the first string in the list, IndexOf returns 0, if Name is he second string, IndexOf returns 1, and so on. If the string is not in the list, IndexOf returns -1.
See Also
TJvTranslatorStrings.Strings, TJvTranslatorStrings.Value
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page