]> granicus.if.org Git - icinga2/blobdiff - doc/16-library-reference.md
Implement the Array#join method
[icinga2] / doc / 16-library-reference.md
index 45dd327444b665e4c6c4d2f4690efce22297b3d1..f14829f05de157350fb56522b5d397fc255a5d28 100644 (file)
@@ -417,6 +417,14 @@ Returns a copy of the array where all items are sorted. The items are
 compared using the `<` (less-than) operator. A custom comparator function
 can be specified with the `less_cmp` argument.
 
+### <a id="array-join"></a> Array#join
+
+Signature:
+
+    function join(separator);
+
+Joins all elements of the array using the specified separator.
+
 ## <a id="dictionary-type"></a> Dictionary type
 
 ### <a id="dictionary-clone"></a> Dictionary#clone