System.StrUtils.TStringSeachOption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TStringSeachOption = (soDown, soMatchCase, soWholeWord);

C++

enum DECLSPEC_DENUM TStringSeachOption : unsigned char { soDown, soMatchCase, soWholeWord };

Properties

Type Visibility Source Unit Parent
enum public
System.StrUtils.pas
System.StrUtils.hpp
System.StrUtils System.StrUtils

Description

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

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.



See Also