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...") |
|||
Line 12: | Line 12: | ||
== Parameters == | == Parameters == | ||
:{| | :{| class="wikitable" | ||
|- | |- | ||
| ''array'' || Array to convert. | | ''array'' || Array to convert. |
Revision as of 13:19, 22 November 2017
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"