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
Combines multiple arrays and returns the concatenated array, or combines multiple string values and returns the concatenated string.
@@ -210,9 +205,10 @@ Combines multiple arrays and returns the concatenated array, or combines multipl
210
205
| arg1 |Yes |array or string |The first array or string for concatenation. |
211
206
| additional arguments |No |array or string |Additional arrays or strings in sequential order for concatenation. |
212
207
213
-
This function can take any number of arguments, and can accept either strings or arrays for the parameters.
208
+
This function can take any number of arguments, and can accept either strings or arrays for the parameters. However, you can't provide both arrays and strings for parameters. Arrays are only concatenated with other arrays.
214
209
215
210
### Return value
211
+
216
212
A string or array of concatenated values.
217
213
218
214
### Example
@@ -310,9 +306,8 @@ To deploy this example template with PowerShell, use:
Checks whether an array contains a value, an object contains a key, or a string contains a substring. The string comparison is case-sensitive. However, when testing if an object contains a key, the comparison is case-insensitive.
@@ -404,9 +399,8 @@ To deploy this example template with PowerShell, use:
Returns the number of elements in an array, characters in a string, or root-level properties in an object.
@@ -945,9 +933,8 @@ You can use this function with an array to specify the number of iterations when
945
933
946
934
For more information about using this function with an array, see [Create multiple instances of resources in Azure Resource Manager](resource-group-create-multiple.md).
947
935
948
-
<aid="max" />
949
-
950
936
## max
937
+
951
938
`max(arg1)`
952
939
953
940
Returns the maximum value from an array of integers or a comma-separated list of integers.
@@ -1009,9 +996,8 @@ To deploy this example template with PowerShell, use:
Returns an array with all the elements after the specified number in the array, or returns a string with all the characters after the specified number in the string.
@@ -1218,9 +1202,8 @@ To deploy this example template with PowerShell, use:
Returns an array with the specified number of elements from the start of the array, or a string with the specified number of characters from the start of the string.
@@ -1299,9 +1282,8 @@ To deploy this example template with PowerShell, use:
* For a description of the sections in an Azure Resource Manager template, see [Authoring Azure Resource Manager templates](resource-group-authoring-templates.md).
1383
1366
* To merge multiple templates, see [Using linked templates with Azure Resource Manager](resource-group-linked-templates.md).
1384
1367
* To iterate a specified number of times when creating a type of resource, see [Create multiple instances of resources in Azure Resource Manager](resource-group-create-multiple.md).
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/resource-group-template-functions-string.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -247,10 +247,13 @@ Combines multiple string values and returns the concatenated string, or combines
247
247
248
248
| Parameter | Required | Type | Description |
249
249
|:--- |:--- |:--- |:--- |
250
-
| arg1 |Yes |string or array |The first value for concatenation. |
251
-
| additional arguments |No |string |Additional values in sequential order for concatenation. |
250
+
| arg1 |Yes |string or array |The first string or array for concatenation. |
251
+
| additional arguments |No |string or array |Additional strings or arrays in sequential order for concatenation. |
252
+
253
+
This function can take any number of arguments, and can accept either strings or arrays for the parameters. However, you can't provide both arrays and strings for parameters. Strings are only concatenated with other strings.
0 commit comments