Difference between revisions of "NXSL:ArrayToString"
Jump to navigation
Jump to search
(Created page with "__NOTOC__ Concatenates array elements into single string. If some array elements are arrays, they will be concatenated recursively. '''Since:''' 2.0.2 == Syntax == ArrayTo...") |
m (Text replacement - "^" to "{{deprecated}}") |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | {{deprecated}}__NOTOC__ | ||
Concatenates array elements into single string. If some array elements are arrays, they will be concatenated recursively. | Concatenates array elements into single string. If some array elements are arrays, they will be concatenated recursively. | ||
Line 12: | Line 12: | ||
== Parameters == | == Parameters == | ||
:{| | :{| class="wikitable" | ||
|- | |- | ||
| ''array'' || Array to convert. | | ''array'' || Array to convert. |
Latest revision as of 16:13, 13 September 2022
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide) |
Concatenates array elements into single string. If some array elements are arrays, they will be concatenated recursively.
Since: 2.0.2
Syntax
ArrayToString(array, separator);
Parameters
array Array to convert. separator Separator to be placed between elements. Can be empty string.
Return Value
Array elements concatenated into single string.
Examples
ArrayToString(%("hello", "world"), " ") -> "hello world" ArrayToString(%("1", "2", "3"), "") -> "123"