JVCL Help:TJvCustomListBox.SearchPrefix

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Returns the position of a string in the list.


Pascal

 functionSearchPrefix(constValue: string; CaseSensitive: Boolean = True; StartIndex: Integer = -1): Integer;


Parameters

Parameters Description
const Value: string The prefix to search for.
CaseSensitive: Boolean = True Indicates whether the match must be case-sensitive.
StartIndex: Integer = -1 Description for this parameter


Description

Call SearchPrefix to obtain the position of the first occurrence of a string that has a prefix that matches Value. A prefix matches Value if it is identical to Value or, if CaseSensitive is False, if it differs only in case.


See Also

TJvCustomListBox.SearchExactString, TJvCustomListBox.SearchSubString


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