Difference between revisions of "NXSL:ArrayToString"
Jump to navigation
Jump to search
m (Text replacement - "^" to "{{deprecated}}") |
|||
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. | ||
Latest revision as of 18: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"