You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/logic-apps/workflow-definition-language-functions-reference.md
+31-1Lines changed: 31 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ To work with strings, you can use these string functions and also some [collecti
98
98
|[formatNumber](../logic-apps/workflow-definition-language-functions-reference.md#formatNumber)| Return a number as a string based on the specified format |
99
99
|[guid](../logic-apps/workflow-definition-language-functions-reference.md#guid)| Generate a globally unique identifier (GUID) as a string. |
100
100
|[indexOf](../logic-apps/workflow-definition-language-functions-reference.md#indexof)| Return the starting position for a substring. |
101
+
|[isInt](../logic-apps/workflow-definition-language-functions-reference.md#isInt)| Return a boolean indicating whether the string is an integer. |
101
102
|[lastIndexOf](../logic-apps/workflow-definition-language-functions-reference.md#lastindexof)| Return the starting position for the last occurrence of a substring. |
102
103
|[length](../logic-apps/workflow-definition-language-functions-reference.md#length)| Return the number of items in a string or array. |
103
104
|[nthIndexOf](../logic-apps/workflow-definition-language-functions-reference.md#nthIndexOf)| Return the starting position or index value where the *n*th occurrence of a substring appears in a string. |
@@ -2538,6 +2539,35 @@ int('10')
2538
2539
2539
2540
And returns this result: `10`
2540
2541
2542
+
<aname="isInt"></a>
2543
+
2544
+
### isInt
2545
+
2546
+
Return a boolean indicating whether the string is an integer.
2547
+
2548
+
```
2549
+
isInt('<string>')
2550
+
```
2551
+
2552
+
| Parameter | Required | Type | Description |
2553
+
| --------- | -------- | ---- | ----------- |
2554
+
| <*string*> | Yes | String | The string to examine |
2555
+
|||||
2556
+
2557
+
| Return value | Type | Description |
2558
+
| ------------ | ---- | ----------- |
2559
+
| <*boolean-result*> | Boolean | A boolean indicating whether the string is an integer |
2560
+
2561
+
*Example*
2562
+
2563
+
This example tests a string that represents an integer:
2564
+
2565
+
```
2566
+
isInt('10')
2567
+
```
2568
+
2569
+
And returns this result: `true`
2570
+
2541
2571
<aname="item"></a>
2542
2572
2543
2573
### item
@@ -5320,4 +5350,4 @@ Here's the result: `Paris`
5320
5350
5321
5351
## Next steps
5322
5352
5323
-
Learn about the [Workflow Definition Language](../logic-apps/logic-apps-workflow-definition-language.md)
5353
+
Learn about the [Workflow Definition Language](../logic-apps/logic-apps-workflow-definition-language.md)
0 commit comments