RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils.TStringSeachOption Enumeration

TStringSeachOption is an enumeration that describes the behavior of string searches.

Pascal
TStringSeachOption = (
  soDown,
  soMatchCase,
  soWholeWord
);
C++
enum TStringSeachOption {
  soDown,
  soMatchCase,
  soWholeWord
};

Note the unusual spelling. TStringSeachOption can have one of the following values:

Value 
Meaning 
soDown  
A forward search is performed through the target text from the specified start point to the end of the search buffer. If soDown is not specified a reverse search is performed from the start point to the begining of the search buffer.  
soMatchCase  
Performs a case sensitive search.  
soWholeWord  
Match whole words, not pieces of words. Whole words are determined using standard identifier parser rules.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!