Skip to content

Commit 4925148

Browse files
authored
Update iot-hub-devguide-query-language.md
STARTSWITH is not recognized when defining message properties query expressions https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-routing-query-syntax#message-properties-query-expressions
1 parent 75c58ad commit 4925148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/iot-hub/iot-hub-devguide-query-language.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ In routes conditions, the following string functions are supported:
271271
| UPPER(x) | Returns a string expression after converting lowercase character data to uppercase. |
272272
| SUBSTRING(string, start [, length]) | Returns part of a string expression starting at the specified character zero-based position and continues to the specified length, or to the end of the string. |
273273
| INDEX_OF(string, fragment) | Returns the starting position of the first occurrence of the second string expression within the first specified string expression, or -1 if the string isn't found.|
274-
| STARTSWITH(x, y) | Returns a Boolean indicating whether the first string expression starts with the second. |
275-
| ENDSWITH(x, y) | Returns a Boolean indicating whether the first string expression ends with the second. |
274+
| STARTS_WITH(x, y) | Returns a Boolean indicating whether the first string expression starts with the second. |
275+
| ENDS_WITH(x, y) | Returns a Boolean indicating whether the first string expression ends with the second. |
276276
| CONTAINS(x,y) | Returns a Boolean indicating whether the first string expression contains the second. |
277277

278278
## Query examples with the service SDKs

0 commit comments

Comments
 (0)