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
)
Public Function StartsWithKeyword (
s As String,
rules As FilterKeywordRules,
<OutAttribute> ByRef keyword As FilterKeyword,
<OutAttribute> ByRef clause As String
) As Boolean
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:
BooleanTrue if a comparison operator starts the string, else false.
See Also