JCL Help:TWideStrings.IndexOf

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the position of a string in the list.


Pascal

 public function IndexOf(const S: WideString): Integer; virtual;


Parameters

Parameters Description
const S: WideString The string for which you want to know the index of the first occurrence.


Return Value

Zero based index of the first occurrence of S in the list. If S does not exist in the list -1 is returned.


Description

IndexOf Returns the zero-based index of the first occurrence of S in the list. If S is not found the method returns -1.


See Also

IndexOfName IndexOfObject


About

Donator

Mike Lischke


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