Click or drag to resize

FilterHelperStartsWithKeyword Method

Determines if the specified string starts with a comparison operator and, if so, returns that operator and the search clause with the operator removed.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public bool StartsWithKeyword(
	string s,
	FilterKeywordRules rules,
	out FilterKeyword keyword,
	out string clause
)

Parameters

s
Type: SystemString
The string to search.
rules
Type: NetQuarryFilterKeywordRules
The type of keyword to match on (e.g. comparison).
keyword
Type: NetQuarryFilterKeyword
The comparison operator, if found.
clause
Type: SystemString
The filter clause with any detected comparison operator removed.

Return Value

Type: Boolean
True if a comparison operator starts the string, else false.
See Also