Home / Search/ Language Reference/ Operators/ String Operators/!endswith_cs

!endswith_cs

The !endswith_cs operator applies a case-sensitive ending string filter and excludes events that match.

The following table compares the endswith operators using these abbreviations:

  • RHS = right-hand side of the expression
  • LHS = left-hand side of the expression
OperatorDescriptionCase-SensitiveExample (yields true)
endswithRHS is a closing subsequence of LHSNo"Fabrikam" endswith "Kam"
!endswithRHS isn’t a closing subsequence of LHSNo"Fabrikam" !endswith "brik"
endswith_csRHS is a closing subsequence of LHSYes"Fabrikam" endswith_cs "kam"
!endswith_csRHS isn’t a closing subsequence of LHSYes"Fabrikam" !endswith_cs "brik"

Syntax

    Scope | where Field !endswith_cs String

Arguments

  • Scope: The input tabular result set to filter.
  • Field: The field to filter.
  • String: The string used to filter.

Example

dataset=myDataset 
| summarize Events=count() by State
| where State !endswith_cs "is"