Filters a record set for data that doesn't start with a case-sensitive search string.
The following table compares the
startswith operators using the abbreviations provided:
- RHS = right-hand side of the expression
- LHS = left-hand side of the expression
||RHS is an initial subsequence of LHS||No||
||RHS isn't an initial subsequence of LHS||No||
||RHS is an initial subsequence of LHS||Yes||
||RHS isn't an initial subsequence of LHS||Yes||
For more information about other operators and to determine which operator is most appropriate for your query, see datatype string operators.
Performance depends on the type of search and the structure of the data. For best practices, see Query best practices.
Learn more about syntax conventions.
|T||string||✓||The tabular input whose records are to be filtered.|
|column||string||✓||The column by which to filter.|
|expression||scalar||✓||The scalar or literal expression for which to search.|
Rows in T for which the predicate is
StormEvents | summarize event_count=count() by State | where State !startswith_cs "I" | where event_count > 2000 | project State, event_count