The case-sensitive endswith_cs string operator
Learn how to use the endswith_cs operator to filter a record set for data with a case-sensitive ending string.
Filters a record set for data with a case-sensitive ending string.
Performance tips
Syntax
T |
where
col endswith_cs
(
expression)
Parameters
Name | Type | Required | Description |
---|---|---|---|
T | string | ✔️ | The tabular input whose records are to be filtered. |
col | string | ✔️ | The column to filter. |
expression | string | ✔️ | The expression used to filter. |
Returns
Rows in T for which the predicate is true
.
Example
StormEvents
| summarize Events = count() by State
| where State endswith_cs "NA"
Output
State | Events |
---|---|
NORTH CAROLINA | 1721 |
MONTANA | 1230 |
INDIANA | 1164 |
SOUTH CAROLINA | 915 |
LOUISIANA | 463 |
ARIZONA | 340 |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.